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

Unified Diff: Source/modules/mediastream/UserMediaController.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/mediastream/UserMediaController.cpp
diff --git a/Source/modules/mediastream/UserMediaController.cpp b/Source/modules/mediastream/UserMediaController.cpp
index b7350f6fc59911a94d2c9bc7178670930b8983fe..2dbd78b645662e2db901b27853ef1f750516fcaa 100644
--- a/Source/modules/mediastream/UserMediaController.cpp
+++ b/Source/modules/mediastream/UserMediaController.cpp
@@ -46,7 +46,7 @@ PassOwnPtr<UserMediaController> UserMediaController::create(UserMediaClient* cli
return adoptPtr(new UserMediaController(client));
}
-void provideUserMediaTo(Page* page, UserMediaClient* client)
+void provideUserMediaTo(Page& page, UserMediaClient* client)
{
UserMediaController::provideTo(page, UserMediaController::supplementName(), UserMediaController::create(client));
}

Powered by Google App Engine
This is Rietveld 408576698