| Index: third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp b/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp
|
| index b6d513d7576d3b761c1c255d92da314cc4ae66ea..f8eaf41f67e67f0dd372a33d50f0268ab1b9cbb1 100644
|
| --- a/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp
|
| @@ -10,9 +10,9 @@
|
|
|
| namespace blink {
|
|
|
| -PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::create(WebLocalFrameImpl* webFrame)
|
| +PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::create(WebLocalFrameImpl* webFrame)
|
| {
|
| - return adoptPtr(new NavigatorContentUtilsClientImpl(webFrame));
|
| + return adoptPtrWillBeNoop(new NavigatorContentUtilsClientImpl(webFrame));
|
| }
|
|
|
| NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebLocalFrameImpl* webFrame)
|
| @@ -20,6 +20,12 @@ NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebLocalFrameIm
|
| {
|
| }
|
|
|
| +DEFINE_TRACE(NavigatorContentUtilsClientImpl)
|
| +{
|
| + visitor->trace(m_webFrame);
|
| + NavigatorContentUtilsClient::trace(visitor);
|
| +}
|
| +
|
| void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& scheme, const KURL& url, const String& title)
|
| {
|
| m_webFrame->client()->registerProtocolHandler(scheme, url, title);
|
| @@ -36,4 +42,3 @@ void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc
|
| }
|
|
|
| } // namespace blink
|
| -
|
|
|