| Index: Source/core/editing/FormatBlockCommand.cpp
|
| diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp
|
| index 7acb96b92b19eb80f4bae13337120f9a0b3d873e..8cdcf9ce48048b757b4cc9f2fa5a7e3d00aa8a93 100644
|
| --- a/Source/core/editing/FormatBlockCommand.cpp
|
| +++ b/Source/core/editing/FormatBlockCommand.cpp
|
| @@ -100,7 +100,7 @@ Element* FormatBlockCommand::elementForFormatBlockCommand(Range* range)
|
| if (!range)
|
| return 0;
|
|
|
| - Node* commonAncestor = range->commonAncestorContainer(IGNORE_EXCEPTION_STATE);
|
| + Node* commonAncestor = range->commonAncestorContainer(IGNORE_EXCEPTION);
|
| while (commonAncestor && !isElementForFormatBlock(commonAncestor))
|
| commonAncestor = commonAncestor->parentNode();
|
|
|
|
|