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

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 849773002: Remove didRemoveAllPendingStylesheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/html/imports/HTMLImportLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.cpp
diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
index a3965deea32ceda4e728b24f8a83424e8874abd6..c718870f10d5fdf74956f6de2567d223270aaec4 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -1519,18 +1519,6 @@ void Document::didLoadAllImports()
didLoadAllParserBlockingResources();
}
-void Document::didRemoveAllPendingStylesheet()
-{
- styleResolverChanged();
-
- // Only imports on master documents can trigger rendering.
- if (HTMLImportLoader* import = importLoader())
- import->didRemoveAllPendingStylesheet();
- if (!haveImportsLoaded())
- return;
- didLoadAllParserBlockingResources();
-}
-
void Document::didLoadAllParserBlockingResources()
{
m_resumeParserWaitingForResourcesTimer.startOneShot(0, FROM_HERE);
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/html/imports/HTMLImportLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698