Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 6b087a0cf57aac2f62b0ce23d6123f771cc55caa..5bf8fec5d41ba482e3ae326e6d116bd01c168a6e 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -96,7 +96,7 @@ static Frame* targetFrame(Frame& frame, Event* event) |
Node* node = event->target()->toNode(); |
if (!node) |
return &frame; |
- return node->document()->frame(); |
+ return node->document().frame(); |
} |
static bool applyCommandToFrame(Frame& frame, EditorCommandSource source, EditAction action, StylePropertySet* style) |