Chromium Code Reviews| Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| index c4971b773893f1736397401cc797750746a47882..5719d93208b08348bd1b5a1a97d66b0d0dfce008 100644 |
| --- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| +++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| @@ -38,19 +38,24 @@ 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 |
| + { |
| + // FIXME: Oilpan: Move Page to the managed heap before using this trace method. |
|
haraken
2014/04/12 15:19:59
Remove this comment. Page is already on oilpan's h
|
| + } |
| private: |
| explicit NavigatorContentUtils(PassOwnPtr<NavigatorContentUtilsClient> client) |