| Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| index 41cc07c93763359a23467ef2110cb3ecf5482655..6ce509f4e0bee2aabae58b63dc7478f4c0d16a7c 100644
|
| --- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| +++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| @@ -27,7 +27,6 @@
|
| #ifndef NavigatorContentUtils_h
|
| #define NavigatorContentUtils_h
|
|
|
| -#include "core/page/Page.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
|
| #include "platform/Supplementable.h"
|
| @@ -38,15 +37,15 @@
|
| namespace blink {
|
|
|
| class ExceptionState;
|
| +class LocalFrame;
|
| class Navigator;
|
| -class Page;
|
|
|
| -class MODULES_EXPORT NavigatorContentUtils final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<Page> {
|
| +class MODULES_EXPORT NavigatorContentUtils final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<LocalFrame> {
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
|
| public:
|
| virtual ~NavigatorContentUtils();
|
|
|
| - static NavigatorContentUtils* from(Page&);
|
| + static NavigatorContentUtils* from(LocalFrame&);
|
| static const char* supplementName();
|
|
|
| static void registerProtocolHandler(Navigator&, const String& scheme, const String& url, const String& title, ExceptionState&);
|
| @@ -55,7 +54,7 @@ public:
|
|
|
| static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
|
|
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<Page>::trace(visitor); }
|
| + DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<LocalFrame>::trace(visitor); }
|
|
|
| void setClientForTest(PassOwnPtr<NavigatorContentUtilsClient> client) { m_client = client; }
|
|
|
|
|