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 |