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

Unified Diff: Source/core/loader/PrerendererClient.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/core/loader/PrerendererClient.cpp
diff --git a/Source/core/loader/PrerendererClient.cpp b/Source/core/loader/PrerendererClient.cpp
index 3db482676ecba8703d2558250f9f1de4e0ffb03c..3ce4a2ce6a758d908480db0d178db9a79b1b87a4 100644
--- a/Source/core/loader/PrerendererClient.cpp
+++ b/Source/core/loader/PrerendererClient.cpp
@@ -49,7 +49,7 @@ PrerendererClient* PrerendererClient::from(Page* page)
return supplement;
}
-void providePrerendererClientTo(Page* page, PrerendererClient* client)
+void providePrerendererClientTo(Page& page, PrerendererClient* client)
{
PrerendererClient::provideTo(page, PrerendererClient::supplementName(), adoptPtr(client));
}

Powered by Google App Engine
This is Rietveld 408576698