Index: Source/core/inspector/InspectorInstrumentation.h |
diff --git a/Source/core/inspector/InspectorInstrumentation.h b/Source/core/inspector/InspectorInstrumentation.h |
index fcecc81824b319602820fb3b1b735d1e76d21c20..2608779c9e8881345a454bf530a6e4ab5dc12615 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.h |
+++ b/Source/core/inspector/InspectorInstrumentation.h |
@@ -161,7 +161,7 @@ inline InstrumentingAgents* instrumentingAgentsForDocument(Document* document) |
inline InstrumentingAgents* instrumentingAgentsForElement(Element* element) |
{ |
- return element ? instrumentingAgentsForDocument(element->document()) : 0; |
+ return element ? instrumentingAgentsForDocument(&element->document()) : 0; |
} |
bool cssErrorFilter(const CSSParserString& content, int propertyId, int errorType); |