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

Unified Diff: Source/modules/notifications/NotificationController.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/notifications/NotificationController.cpp
diff --git a/Source/modules/notifications/NotificationController.cpp b/Source/modules/notifications/NotificationController.cpp
index b504cccf6fabdfcb4ad0d1b4901f4e9395317c63..ca65545223d688ff058d9f153d182a65e6bedcef 100644
--- a/Source/modules/notifications/NotificationController.cpp
+++ b/Source/modules/notifications/NotificationController.cpp
@@ -57,7 +57,7 @@ const char* NotificationController::supplementName()
return "NotificationController";
}
-void provideNotification(Page* page, NotificationClient* client)
+void provideNotification(Page& page, NotificationClient* client)
{
NotificationController::provideTo(page, NotificationController::supplementName(), NotificationController::create(client));
}

Powered by Google App Engine
This is Rietveld 408576698