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

Unified Diff: Source/modules/speech/SpeechRecognitionController.cpp

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/SpeechRecognitionController.cpp
diff --git a/Source/modules/speech/SpeechRecognitionController.cpp b/Source/modules/speech/SpeechRecognitionController.cpp
index 4242ac5a0070410fae9f87e6bf3b45f04588e51f..47e12e05a50a8b1215e27b9137de5a2f123ac526 100644
--- a/Source/modules/speech/SpeechRecognitionController.cpp
+++ b/Source/modules/speech/SpeechRecognitionController.cpp
@@ -48,7 +48,7 @@ PassOwnPtr<SpeechRecognitionController> SpeechRecognitionController::create(Spee
return adoptPtr(new SpeechRecognitionController(client));
}
-void provideSpeechRecognitionTo(Page* page, SpeechRecognitionClient* client)
+void provideSpeechRecognitionTo(Page& page, SpeechRecognitionClient* client)
{
SpeechRecognitionController::provideTo(page, SpeechRecognitionController::supplementName(), SpeechRecognitionController::create(client));
}

Powered by Google App Engine
This is Rietveld 408576698