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

Unified Diff: Source/core/html/imports/HTMLImportLoader.cpp

Issue 1116613003: Remove ResourceFetcher's access to a FrameFetchContext when detaching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/html/imports/HTMLImportLoader.cpp
diff --git a/Source/core/html/imports/HTMLImportLoader.cpp b/Source/core/html/imports/HTMLImportLoader.cpp
index bb3c476fcf0d76070e8ab373a047c8ba18ca4b5c..000eed3ff61e89f148a7c5683a61268e682d37c8 100644
--- a/Source/core/html/imports/HTMLImportLoader.cpp
+++ b/Source/core/html/imports/HTMLImportLoader.cpp
@@ -62,6 +62,8 @@ void HTMLImportLoader::dispose()
{
m_controller = nullptr;
if (m_document) {
+ if (m_document->parser())
+ m_document->parser()->removeClient(this);
m_document->setImportsController(nullptr);
m_document->cancelParsing();
m_document.clear();

Powered by Google App Engine
This is Rietveld 408576698