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

Unified Diff: Source/core/html/imports/HTMLImportTreeRoot.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
« no previous file with comments | « Source/core/html/imports/HTMLImportLoader.cpp ('k') | Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImportTreeRoot.cpp
diff --git a/Source/core/html/imports/HTMLImportTreeRoot.cpp b/Source/core/html/imports/HTMLImportTreeRoot.cpp
index 7a220639d4f6c4c09e8a5bb1cbbbd8c9abd13da4..98a60687c36d76c64a0c9a9f18cb820bf2377f4b 100644
--- a/Source/core/html/imports/HTMLImportTreeRoot.cpp
+++ b/Source/core/html/imports/HTMLImportTreeRoot.cpp
@@ -99,12 +99,8 @@ HTMLImportChild* HTMLImportTreeRoot::find(const KURL& url) const
void HTMLImportTreeRoot::recalcTimerFired(Timer<HTMLImportTreeRoot>*)
{
ASSERT(m_document);
- RefPtrWillBeRawPtr<Document> protect(m_document.get());
-
- do {
- m_recalcTimer.stop();
- HTMLImport::recalcTreeState(this);
- } while (m_recalcTimer.isActive());
+ RefPtrWillBeRawPtr<Document> protectDocument(m_document.get());
+ HTMLImport::recalcTreeState(this);
sof 2015/04/30 18:18:37 Could you explain why new recalculations cannot be
}
DEFINE_TRACE(HTMLImportTreeRoot)
« no previous file with comments | « Source/core/html/imports/HTMLImportLoader.cpp ('k') | Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698