Commit d836dc93 authored by satish@chromium.org's avatar satish@chromium.org
Browse files

2010-10-25 Satish Sampath <satish@chromium.org>

        Unreviewed, fix for a build break caused by my earlier patch.

        * public/WebSpeechInputListener.h:
        (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54ed17a8
2010-10-25 Satish Sampath <satish@chromium.org>
Unreviewed, fix for a build break caused by my earlier patch.
* public/WebSpeechInputListener.h:
(WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.
2010-10-21 Satish Sampath <satish@chromium.org>
 
Reviewed by Jeremy Orlow.
......
......@@ -61,7 +61,7 @@ public:
// using the above call.
virtual void setRecognitionResult(int requestId, const WebString& result)
{
WebSpeechInputResultArray results(1U);
WebSpeechInputResultArray results(static_cast<size_t>(1));
results[0].set(result, 1.0);
setRecognitionResult(requestId, results);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment