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

Unified Diff: Source/core/loader/DocumentLoader.cpp

Issue 1085033003: Introduce InspectorIdentifiers<> and use it to assign/lookup LocalFrame and DocumentLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win build error fixed 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/core/inspector/PageRuntimeAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index 582a680aeed6a3c3674f24197236559a20aa8f50..c1fb1efacef16ce0afedc16f71715d781a7cc3a1 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -32,6 +32,7 @@
#include "core/dom/Document.h"
#include "core/dom/DocumentParser.h"
+#include "core/dom/WeakIdentifierMap.h"
#include "core/events/Event.h"
#include "core/fetch/FetchInitiatorTypeNames.h"
#include "core/fetch/MemoryCache.h"
@@ -563,7 +564,7 @@ void DocumentLoader::detachFromFrame()
stopLoading();
m_applicationCacheHost->setApplicationCache(0);
- InspectorInstrumentation::loaderDetachedFromFrame(m_frame, this);
+ WeakIdentifierMap<DocumentLoader>::notifyObjectDestroyed(this);
m_frame = 0;
}
« no previous file with comments | « Source/core/inspector/PageRuntimeAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698