Index: third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h |
diff --git a/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h b/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h |
index c2f6dd65c23b35ac601ca357a3a92ca9cd6c3195..13a8e5361b83d9f43362ac1e487ba64c6a6236ae 100644 |
--- a/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h |
+++ b/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h |
@@ -6,6 +6,7 @@ |
#define NavigatorContentUtilsClientImpl_h |
#include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
+#include "platform/heap/Handle.h" |
#include "platform/weborigin/KURL.h" |
namespace blink { |
@@ -14,17 +15,19 @@ class WebLocalFrameImpl; |
class NavigatorContentUtilsClientImpl final : public NavigatorContentUtilsClient { |
public: |
- static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebLocalFrameImpl*); |
+ static PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClientImpl> create(WebLocalFrameImpl*); |
~NavigatorContentUtilsClientImpl() override { } |
void registerProtocolHandler(const String& scheme, const KURL&, const String& title) override; |
CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&) override; |
void unregisterProtocolHandler(const String& scheme, const KURL&) override; |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
private: |
explicit NavigatorContentUtilsClientImpl(WebLocalFrameImpl*); |
- WebLocalFrameImpl* m_webFrame; |
+ RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
}; |
} // namespace blink |