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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.h

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using namespace WebCore Created 6 years, 8 months 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: Source/modules/navigatorcontentutils/NavigatorContentUtils.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index c6033c2c0348567d3646e9f7453b59026586d050..8101ce6398cd1d8403079bfeb91e20d3d5578ff4 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -28,7 +28,8 @@
#define NavigatorContentUtils_h
#include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
-#include "platform/RefCountedSupplement.h"
+#include "platform/Supplementable.h"
+#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
@@ -38,7 +39,8 @@ class ExceptionState;
class Navigator;
class Page;
-class NavigatorContentUtils FINAL : public Supplement<Page> {
+class NavigatorContentUtils FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<Page> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
public:
virtual ~NavigatorContentUtils();
@@ -50,7 +52,7 @@ public:
static String isProtocolHandlerRegistered(Navigator&, const String& scheme, const String& url, ExceptionState&);
static void unregisterProtocolHandler(Navigator&, const String& scheme, const String& url, ExceptionState&);
- static PassOwnPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
+ static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
virtual void trace(Visitor*) OVERRIDE { }
« no previous file with comments | « Source/modules/geolocation/GeolocationController.cpp ('k') | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698