Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index d721e4f70ef5cc5e9ed19d164121c13196463f12..fa34137a4151ac03364e5c186e70df7080798a5e 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -2996,6 +2996,9 @@ void Document::didLoadAllScriptBlockingResources() |
{ |
m_executeScriptsWaitingForResourcesTimer.startOneShot(0, FROM_HERE); |
+ if (frame()) |
+ frame()->loader().client()->didRemoveAllPendingStylesheet(); |
+ |
if (m_gotoAnchorNeededAfterStylesheetsLoad && view()) |
view()->scrollToFragment(m_url); |
} |