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

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

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
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

Powered by Google App Engine
This is Rietveld 408576698