Index: Source/core/inspector/InspectorCanvasAgent.cpp |
diff --git a/Source/core/inspector/InspectorCanvasAgent.cpp b/Source/core/inspector/InspectorCanvasAgent.cpp |
index c9792953430fe96b012e7541770821e51691e3d6..562c22d971647adf3308c93b333143f9be3b4327 100644 |
--- a/Source/core/inspector/InspectorCanvasAgent.cpp |
+++ b/Source/core/inspector/InspectorCanvasAgent.cpp |
@@ -272,10 +272,10 @@ void InspectorCanvasAgent::findFramesWithUninstrumentedCanvases() |
virtual void visitNode(Node* node) OVERRIDE |
{ |
- if (!node->hasTagName(HTMLNames::canvasTag) || !node->document() || !node->document()->frame()) |
+ if (!node->hasTagName(HTMLNames::canvasTag) || !node->document().frame()) |
return; |
- Frame* frame = node->document()->frame(); |
+ Frame* frame = node->document().frame(); |
if (frame->page() != m_page) |
return; |