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

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

Issue 235023003: Mark Supplement instead of RefCountedSupplement in NavigatorContentUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 8 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
« no previous file with comments | « no previous file | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index c4971b773893f1736397401cc797750746a47882..c6033c2c0348567d3646e9f7453b59026586d050 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -38,19 +38,21 @@ class ExceptionState;
class Navigator;
class Page;
-class NavigatorContentUtils FINAL : public RefCountedSupplement<Page, NavigatorContentUtils> {
+class NavigatorContentUtils FINAL : public Supplement<Page> {
public:
virtual ~NavigatorContentUtils();
- static const char* supplementName();
static NavigatorContentUtils* from(Page&);
+ static const char* supplementName();
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 PassRefPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
+ static PassOwnPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
+
+ virtual void trace(Visitor*) OVERRIDE { }
private:
explicit NavigatorContentUtils(PassOwnPtr<NavigatorContentUtilsClient> client)
« no previous file with comments | « no previous file | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698