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