Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
index 478c8b7fccde663f9bbb365f8b1a32b4f2aac3e0..8aa2e61d337b1322631e52778cb2276f9b4c2103 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
@@ -2077,7 +2077,7 @@ static String valueFormatBlock(LocalFrame& frame, Event*) { |
return ""; |
Element* formatBlockElement = |
FormatBlockCommand::elementForFormatBlockCommand( |
- createRange(firstEphemeralRangeOf(selection))); |
+ firstEphemeralRangeOf(selection)); |
if (!formatBlockElement) |
return ""; |
return formatBlockElement->localName(); |