Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1641)

Unified Diff: Source/modules/speech/SpeechRecognitionError.h

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Events aren't on the heap by default yet; adjust member decl. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/speech/SpeechRecognitionError.h
diff --git a/Source/modules/speech/SpeechRecognitionError.h b/Source/modules/speech/SpeechRecognitionError.h
index 4b70965add7ea46516f9512012b887092bfee146..6dd99239cd25ce302fb2ca8b28d9b4644bab8117 100644
--- a/Source/modules/speech/SpeechRecognitionError.h
+++ b/Source/modules/speech/SpeechRecognitionError.h
@@ -27,7 +27,6 @@
#define SpeechRecognitionError_h
#include "modules/EventModules.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -55,9 +54,9 @@ public:
ErrorCodeLanguageNotSupported = 8
};
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, const String&);
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create();
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicString&, const SpeechRecognitionErrorInit&);
+ static SpeechRecognitionError* create(ErrorCode, const String&);
+ static SpeechRecognitionError* create();
+ static SpeechRecognitionError* create(const AtomicString&, const SpeechRecognitionErrorInit&);
const String& error() { return m_error; }
const String& message() { return m_message; }

Powered by Google App Engine
This is Rietveld 408576698