| Index: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| index bb0979658aa97a402fdd763f67c6ede674670541..96bf9ba4d0f28a8a4bc63af1bbeeb2b71738ebbb 100644
|
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
|
| @@ -53,20 +53,25 @@ public:
|
| static String isProtocolHandlerRegistered(Navigator&, const String& scheme, const String& url, ExceptionState&);
|
| static void unregisterProtocolHandler(Navigator&, const String& scheme, const String& url, ExceptionState&);
|
|
|
| - static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
|
| + static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient>);
|
|
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<LocalFrame>::trace(visitor); }
|
| + DEFINE_INLINE_VIRTUAL_TRACE()
|
| + {
|
| + visitor->trace(m_client);
|
| + WillBeHeapSupplement<LocalFrame>::trace(visitor);
|
| + }
|
|
|
| - void setClientForTest(PassOwnPtr<NavigatorContentUtilsClient> client) { m_client = client; }
|
| + void setClientForTest(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient> client) { m_client = client; }
|
|
|
| private:
|
| - explicit NavigatorContentUtils(PassOwnPtr<NavigatorContentUtilsClient> client)
|
| + explicit NavigatorContentUtils(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient> client)
|
| : m_client(client)
|
| - { }
|
| + {
|
| + }
|
|
|
| NavigatorContentUtilsClient* client() { return m_client.get(); }
|
|
|
| - OwnPtr<NavigatorContentUtilsClient> m_client;
|
| + OwnPtrWillBeMember<NavigatorContentUtilsClient> m_client;
|
| };
|
|
|
| } // namespace blink
|
|
|