Index: Source/core/dom/StyleEngine.h |
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
index e86639942b5cc4e19745d21a290dc144ef22fb03..b1c737d722dcce69fb35985c8000950e3ae0713d 100644 |
--- a/Source/core/dom/StyleEngine.h |
+++ b/Source/core/dom/StyleEngine.h |
@@ -203,6 +203,7 @@ private: |
bool isMaster() const { return m_isMaster; } |
Document* master(); |
+ Document& document() const { return *m_document; } |
typedef ListHashSet<TreeScope*, 16> TreeScopeSet; |
static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*); |