Chromium Code Reviews| Index: Source/WebKit/chromium/public/WebSpeechInputResult.h |
| diff --git a/Source/WebKit/chromium/public/WebSpeechInputResult.h b/Source/WebKit/chromium/public/WebSpeechInputResult.h |
| index 52f9528e1e7837c16ad01f070366a143bcd57c53..6ec76d40a64df5f2b1ba4532269572c39bc57a3a 100644 |
| --- a/Source/WebKit/chromium/public/WebSpeechInputResult.h |
| +++ b/Source/WebKit/chromium/public/WebSpeechInputResult.h |
| @@ -45,6 +45,12 @@ public: |
| WebSpeechInputResult(const WebSpeechInputResult& other) { assign(other); } |
| ~WebSpeechInputResult() { reset(); } |
| + WebSpeechInputResult& operator=(const WebSpeechInputResult& other) |
| + { |
| + assign(other); |
| + return *this; |
| + } |
|
dmichael (off chromium)
2013/05/22 17:00:28
The compiler-provided assignment was being used in
|
| + |
| WEBKIT_EXPORT void assign(const WebString& utterance, double confidence); |
| WEBKIT_EXPORT void assign(const WebSpeechInputResult& other); |
| WEBKIT_EXPORT void reset(); |