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

Unified Diff: third_party/WebKit/Source/core/html/PublicURLManager.h

Issue 1750453002: Reduce ActiveDOMObjects from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/core/html/PublicURLManager.h
diff --git a/third_party/WebKit/Source/core/html/PublicURLManager.h b/third_party/WebKit/Source/core/html/PublicURLManager.h
index 5203217e61f97c1b72c844fab9c778930942fc97..7e8768932eed1d4c6a4cb03192da1b1dc0daed73 100644
--- a/third_party/WebKit/Source/core/html/PublicURLManager.h
+++ b/third_party/WebKit/Source/core/html/PublicURLManager.h
@@ -26,7 +26,7 @@
#ifndef PublicURLManager_h
#define PublicURLManager_h
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "platform/heap/Handle.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
@@ -41,7 +41,7 @@ class SecurityOrigin;
class URLRegistry;
class URLRegistrable;
-class PublicURLManager final : public NoBaseWillBeGarbageCollectedFinalized<PublicURLManager>, public ActiveDOMObject {
+class PublicURLManager final : public NoBaseWillBeGarbageCollectedFinalized<PublicURLManager>, public ContextLifecycleObserver {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PublicURLManager);
USING_FAST_MALLOC_WILL_BE_REMOVED(PublicURLManager);
public:
@@ -52,7 +52,7 @@ public:
void revoke(const String& uuid);
// ActiveDOMObject interface.
- void stop() override;
+ void contextDestroyed() override;
DECLARE_VIRTUAL_TRACE();
@@ -66,7 +66,6 @@ private:
typedef HashMap<URLRegistry*, URLMap> RegistryURLMap;
RegistryURLMap m_registryToURL;
- bool m_isStopped;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698