Index: Source/core/css/resolver/ElementResolveContext.h |
diff --git a/Source/core/css/resolver/ElementResolveContext.h b/Source/core/css/resolver/ElementResolveContext.h |
index 4ab5292aa13318ca521c3b3294e77132800d3316..fcb43631ed5ffe9ee2398436cd26113a6b904c50 100644 |
--- a/Source/core/css/resolver/ElementResolveContext.h |
+++ b/Source/core/css/resolver/ElementResolveContext.h |
@@ -47,6 +47,7 @@ public: |
explicit ElementResolveContext(Element*); |
+ // FIXME: This should return a reference. |
Document* document() const { return m_element->document(); } |
bool isDocumentElement() const { return m_element && m_element == m_element->document()->documentElement(); } |