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

Unified Diff: Source/core/speech/SpeechInputClient.h

Issue 219273002: Use OwnPtr|PassOwnPtr to pass a pointer of SpeechInputClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/speech/SpeechInput.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/speech/SpeechInputClient.h
diff --git a/Source/core/speech/SpeechInputClient.h b/Source/core/speech/SpeechInputClient.h
index 832034a497e9296f1616aded46f64a751d2bbfa6..8afb3a0653df6f0c3e50c8803464826d82d390e7 100644
--- a/Source/core/speech/SpeechInputClient.h
+++ b/Source/core/speech/SpeechInputClient.h
@@ -63,11 +63,10 @@ public:
// recognition results are returned to the listener.
virtual void cancelRecognition(int requestId) = 0;
-protected:
virtual ~SpeechInputClient() { }
};
-void provideSpeechInputTo(Page&, SpeechInputClient*);
+void provideSpeechInputTo(Page&, PassOwnPtr<SpeechInputClient>);
} // namespace WebCore
« no previous file with comments | « Source/core/speech/SpeechInput.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698