Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.cpp

Issue 1441083002: Oilpan: move NavigatorContentUtilsClients to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add back non-Oilpan USING_FAST_MALLOC() usage for NavigatorContentUtilsClient Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
-
« no previous file with comments | « third_party/WebKit/Source/web/NavigatorContentUtilsClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698