Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
index 5ed814d50ebcc68c5d53ba7d7eb9291dbce41f97..2a32bca17696016979095378fd18a9e0070696ac 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
@@ -689,13 +689,13 @@ void ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline( |
// script. |
if (isEnclosingBlock(element)) { |
element->style()->setPropertyInternal(CSSPropertyDisplay, String(), |
- "inline", false, nullptr, |
+ "inline", false, |
IGNORE_EXCEPTION_FOR_TESTING); |
} |
if (element->layoutObject() && |
element->layoutObject()->style()->isFloating()) { |
element->style()->setPropertyInternal(CSSPropertyFloat, String(), |
- "none", false, nullptr, |
+ "none", false, |
IGNORE_EXCEPTION_FOR_TESTING); |
} |
} |