Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 4d1a0b46a5f9118dbc190a660ca1dd11fa76466b..8cfb7dda158d0806f7c5b7403a4a55c18bae9241 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -55,7 +55,7 @@ using namespace HTMLNames; |
StyleEngine::StyleEngine(Document& document) |
: m_document(&document) |
- , m_isMaster(!document.importsController() || document.importsController()->isMaster(document) ) |
+ , m_isMaster(!document.importsController() || document.importsController()->master() == &document) |
, m_pendingStylesheets(0) |
, m_injectedStyleSheetCacheValid(false) |
#if ENABLE(OILPAN) |