Index: Source/modules/credentialmanager/NavigatorCredentials.h |
diff --git a/Source/modules/credentialmanager/NavigatorCredentials.h b/Source/modules/credentialmanager/NavigatorCredentials.h |
index 60b2f998caf44e9e8cc70ad37c150b7dfce73f45..59fdc369a1958d924ad5c38ee95db00a1a6aa06e 100644 |
--- a/Source/modules/credentialmanager/NavigatorCredentials.h |
+++ b/Source/modules/credentialmanager/NavigatorCredentials.h |
@@ -15,12 +15,11 @@ namespace blink { |
class CredentialsContainer; |
class Navigator; |
-class NavigatorCredentials final : public NoBaseWillBeGarbageCollected<NavigatorCredentials>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty { |
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorCredentials); |
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorCredentials); |
+class NavigatorCredentials final : public GarbageCollectedFinalized<NavigatorCredentials>, public HeapSupplement<Navigator>, public DOMWindowProperty { |
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorCredentials); |
public: |
static NavigatorCredentials& from(Navigator&); |
- static const char* supplementName(); |
+ virtual ~NavigatorCredentials(); |
// NavigatorCredentials.idl |
static CredentialsContainer* credentials(Navigator&); |
@@ -31,7 +30,9 @@ private: |
explicit NavigatorCredentials(Navigator&); |
CredentialsContainer* credentials(); |
- PersistentWillBeMember<CredentialsContainer> m_credentialsContainer; |
+ static const char* supplementName(); |
+ |
+ Member<CredentialsContainer> m_credentialsContainer; |
}; |
} // namespace blink |