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

Unified Diff: Source/modules/plugins/NavigatorPlugins.h

Issue 1101263003: Oilpan: have Navigator and its supplements be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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
« no previous file with comments | « Source/modules/permissions/NavigatorPermissions.cpp ('k') | Source/modules/plugins/NavigatorPlugins.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/plugins/NavigatorPlugins.h
diff --git a/Source/modules/plugins/NavigatorPlugins.h b/Source/modules/plugins/NavigatorPlugins.h
index c2a99f78d1cf7c187ea25d5184ead3544cb43725..4e1421b4bd42e5a836ba85e2ee86d276ec6137c1 100644
--- a/Source/modules/plugins/NavigatorPlugins.h
+++ b/Source/modules/plugins/NavigatorPlugins.h
@@ -15,16 +15,13 @@ class DOMPluginArray;
class LocalFrame;
class Navigator;
-class NavigatorPlugins final
- : public NoBaseWillBeGarbageCollected<NavigatorPlugins>
- , public WillBeHeapSupplement<Navigator>
- , DOMWindowProperty {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorPlugins);
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorPlugins);
+class NavigatorPlugins final : public GarbageCollectedFinalized<NavigatorPlugins>, public HeapSupplement<Navigator>, public DOMWindowProperty {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorPlugins);
public:
static NavigatorPlugins& from(Navigator&);
static NavigatorPlugins* toNavigatorPlugins(Navigator&);
- static const char* supplementName();
+
+ virtual ~NavigatorPlugins();
static DOMPluginArray* plugins(Navigator&);
static DOMMimeTypeArray* mimeTypes(Navigator&);
@@ -35,6 +32,8 @@ public:
private:
explicit NavigatorPlugins(Navigator&);
+ static const char* supplementName();
+
DOMPluginArray* plugins(LocalFrame*) const;
DOMMimeTypeArray* mimeTypes(LocalFrame*) const;
bool javaEnabled(LocalFrame*) const;
« no previous file with comments | « Source/modules/permissions/NavigatorPermissions.cpp ('k') | Source/modules/plugins/NavigatorPlugins.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698