Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 920fd54a9d3fe181c17bdb714900e4bb18d73aff..c3637b3baa4786ef80f7ac50b6fd962c9d9d57c2 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -38,13 +38,13 @@ |
#include "core/dom/ProcessingInstruction.h" |
#include "core/dom/ShadowTreeStyleSheetCollection.h" |
#include "core/dom/shadow/ShadowRoot.h" |
-#include "core/frame/Settings.h" |
#include "core/html/HTMLIFrameElement.h" |
#include "core/html/HTMLImport.h" |
#include "core/html/HTMLLinkElement.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/page/Page.h" |
#include "core/page/PageGroup.h" |
+#include "core/frame/Settings.h" |
#include "core/svg/SVGStyleElement.h" |
#include "platform/URLPatternMatcher.h" |
@@ -340,7 +340,7 @@ void StyleEngine::collectDocumentActiveStyleSheets(StyleSheetCollectionBase& col |
ASSERT(isMaster()); |
if (HTMLImport* rootImport = m_document.import()) { |
- for (HTMLImport* import = traverseFirstPostOrder<HTMLImport>(*rootImport); import; import = traverseNextPostOrder<HTMLImport>(*import)) { |
+ for (HTMLImport* import = traverseFirstPostOrder(rootImport); import; import = traverseNextPostOrder(import)) { |
Document* document = import->document(); |
if (!document) |
continue; |