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