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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.h

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/navigatorcontentutils/NavigatorContentUtils.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index b81ff5bad13b23329b694e93823ddf516ce4adc5..b1195872d1a1477c04ffa89d915e41551657589d 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -43,12 +43,12 @@ public:
virtual ~NavigatorContentUtils();
static const char* supplementName();
- static NavigatorContentUtils* from(Page*);
+ static NavigatorContentUtils* from(Page&);
- static void registerProtocolHandler(Navigator*, const String& scheme, const String& url, const String& title, ExceptionState&);
+ static void registerProtocolHandler(Navigator&, const String& scheme, const String& url, const String& title, ExceptionState&);
- static String isProtocolHandlerRegistered(Navigator*, const String& scheme, const String& url, ExceptionState&);
- static void unregisterProtocolHandler(Navigator*, const String& scheme, const String& url, ExceptionState&);
+ static String isProtocolHandlerRegistered(Navigator&, const String& scheme, const String& url, ExceptionState&);
+ static void unregisterProtocolHandler(Navigator&, const String& scheme, const String& url, ExceptionState&);
static PassRefPtr<NavigatorContentUtils> create(NavigatorContentUtilsClient*);

Powered by Google App Engine
This is Rietveld 408576698