| Index: Source/core/editing/FormatBlockCommand.cpp
|
| diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp
|
| index 3867577310b54410afe7c7a08fddd1aadfb6f229..8ea2e4d608d120a29ac09e5430c26c0792bf0e99 100644
|
| --- a/Source/core/editing/FormatBlockCommand.cpp
|
| +++ b/Source/core/editing/FormatBlockCommand.cpp
|
| @@ -64,7 +64,7 @@ void FormatBlockCommand::formatRange(const Position& start, const Position& end,
|
| RefPtr<Node> outerBlock = (start.deprecatedNode() == nodeToSplitTo) ? start.deprecatedNode() : splitTreeToNode(start.deprecatedNode(), nodeToSplitTo);
|
| RefPtr<Node> nodeAfterInsertionPosition = outerBlock;
|
|
|
| - RefPtr<Range> range = Range::create(&document(), start, endOfSelection);
|
| + RefPtr<Range> range = Range::create(document(), start, endOfSelection);
|
| Element* refNode = enclosingBlockFlowElement(end);
|
| Element* root = editableRootForPosition(start);
|
| // Root is null for elements with contenteditable=false.
|
|
|