| Index: Source/core/editing/RemoveFormatCommand.cpp
|
| diff --git a/Source/core/editing/RemoveFormatCommand.cpp b/Source/core/editing/RemoveFormatCommand.cpp
|
| index 3644d328ac97ebdc934f948b8154e5f01c9760e8..e05f24bfe54da1b6da7ca41f4b4d9e0f6cddb4db 100644
|
| --- a/Source/core/editing/RemoveFormatCommand.cpp
|
| +++ b/Source/core/editing/RemoveFormatCommand.cpp
|
| @@ -40,7 +40,7 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -RemoveFormatCommand::RemoveFormatCommand(Document* document)
|
| +RemoveFormatCommand::RemoveFormatCommand(Document& document)
|
| : CompositeEditCommand(document)
|
| {
|
| }
|
| @@ -79,7 +79,7 @@ static bool isElementForRemoveFormatCommand(const Element* element)
|
|
|
| void RemoveFormatCommand::doApply()
|
| {
|
| - Frame* frame = document()->frame();
|
| + Frame* frame = document().frame();
|
|
|
| if (!frame->selection()->selection().isNonOrphanedCaretOrRange())
|
| return;
|
|
|