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

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

Issue 1808533003: Revert of Reduce ActiveDOMObjects from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 7e8768932eed1d4c6a4cb03192da1b1dc0daed73..5203217e61f97c1b72c844fab9c778930942fc97 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/ContextLifecycleObserver.h"
+#include "core/dom/ActiveDOMObject.h"
#include "platform/heap/Handle.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
@@ -41,7 +41,7 @@
class URLRegistry;
class URLRegistrable;
-class PublicURLManager final : public NoBaseWillBeGarbageCollectedFinalized<PublicURLManager>, public ContextLifecycleObserver {
+class PublicURLManager final : public NoBaseWillBeGarbageCollectedFinalized<PublicURLManager>, public ActiveDOMObject {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PublicURLManager);
USING_FAST_MALLOC_WILL_BE_REMOVED(PublicURLManager);
public:
@@ -52,7 +52,7 @@
void revoke(const String& uuid);
// ActiveDOMObject interface.
- void contextDestroyed() override;
+ void stop() override;
DECLARE_VIRTUAL_TRACE();
@@ -66,6 +66,7 @@
typedef HashMap<URLRegistry*, URLMap> RegistryURLMap;
RegistryURLMap m_registryToURL;
+ bool m_isStopped;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.cpp ('k') | third_party/WebKit/Source/core/html/PublicURLManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698