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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 3e81924eff185ff6dd8f27b1be41f7cffa4a4a5f..dd65519e4b3a1ebbd6fe9a50b4c73a3adb0d0a7e 100644
--- a/Source/modules/speech/SpeechRecognitionError.h
+++ b/Source/modules/speech/SpeechRecognitionError.h
@@ -55,15 +55,17 @@ public:
ErrorCodeLanguageNotSupported = 8
};
- static PassRefPtr<SpeechRecognitionError> create(ErrorCode, const String&);
- static PassRefPtr<SpeechRecognitionError> create();
- static PassRefPtr<SpeechRecognitionError> create(const AtomicString&, const SpeechRecognitionErrorInit&);
+ static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, const String&);
+ static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create();
+ static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicString&, const SpeechRecognitionErrorInit&);
const String& error() { return m_error; }
const String& message() { return m_message; }
virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual void trace(Visitor*) OVERRIDE { }
+
private:
SpeechRecognitionError(const String&, const String&);
SpeechRecognitionError(const AtomicString&, const SpeechRecognitionErrorInit&);

Powered by Google App Engine
This is Rietveld 408576698