| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index e0584b040e71489dd93979ff1ae19fefb6066519..80f66e534578dfa30b8bd053849f2c2d9fd46259 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -1668,12 +1668,12 @@ static const EditorInternalCommand* internalCommand(const String& commandName)
|
|
|
| Editor::Command Editor::command(const String& commandName)
|
| {
|
| - return Command(internalCommand(commandName), CommandFromMenuOrKeyBinding, &m_frame);
|
| + return Command(internalCommand(commandName), CommandFromMenuOrKeyBinding, m_frame);
|
| }
|
|
|
| Editor::Command Editor::command(const String& commandName, EditorCommandSource source)
|
| {
|
| - return Command(internalCommand(commandName), source, &m_frame);
|
| + return Command(internalCommand(commandName), source, m_frame);
|
| }
|
|
|
| bool Editor::executeCommand(const String& commandName)
|
| @@ -1705,10 +1705,10 @@ bool Editor::executeCommand(const String& commandName, const String& value)
|
| {
|
| // moveToBeginningOfDocument and moveToEndfDocument are only handled by WebKit for editable nodes.
|
| if (!canEdit() && commandName == "moveToBeginningOfDocument")
|
| - return m_frame.eventHandler().bubblingScroll(ScrollUp, ScrollByDocument);
|
| + return m_frame->eventHandler().bubblingScroll(ScrollUp, ScrollByDocument);
|
|
|
| if (!canEdit() && commandName == "moveToEndOfDocument")
|
| - return m_frame.eventHandler().bubblingScroll(ScrollDown, ScrollByDocument);
|
| + return m_frame->eventHandler().bubblingScroll(ScrollDown, ScrollByDocument);
|
|
|
| if (commandName == "showGuessPanel") {
|
| spellChecker().showSpellingGuessPanel();
|
| @@ -1723,7 +1723,7 @@ Editor::Command::Command()
|
| {
|
| }
|
|
|
| -Editor::Command::Command(const EditorInternalCommand* command, EditorCommandSource source, PassRefPtr<LocalFrame> frame)
|
| +Editor::Command::Command(const EditorInternalCommand* command, EditorCommandSource source, PassRefPtrWillBeRawPtr<LocalFrame> frame)
|
| : m_command(command)
|
| , m_source(source)
|
| , m_frame(command ? frame : nullptr)
|
|
|