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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2353243002: Revert "Document::haveImportsLoaded() should return true when ignoring pending sheets" (Closed)
Patch Set: Mark the layout test TIMEOUT on Mac Created 4 years, 3 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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 6be3a6b8ba5951190e39416a9049464853dfb749..679e73b72f23e73dcd27ebad645dbb8aa7f3fc36 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -765,8 +765,6 @@ HTMLImportLoader* Document::importLoader() const
bool Document::haveImportsLoaded() const
{
- if (m_styleEngine->ignoringPendingStylesheets())
- return true;
if (!m_importsController)
return true;
return !m_importsController->shouldBlockScriptExecution(*this);
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698