Index: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
index 58f5fc5d96e9c3a40a9781a9fc3cf200ab714eaf..d81d9b37501fc24ea9665a3f3f56fbb611c061ea 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
@@ -57,12 +57,14 @@ void RemoveCSSPropertyCommand::doApply(EditingState*) { |
// script. Setting to null string removes the property. We don't have internal |
// version of removeProperty. |
m_element->style()->setPropertyInternal(m_property, String(), String(), false, |
- nullptr, IGNORE_EXCEPTION); |
+ nullptr, |
+ IGNORE_EXCEPTION_FOR_TESTING); |
} |
void RemoveCSSPropertyCommand::doUnapply() { |
- m_element->style()->setPropertyInternal( |
- m_property, String(), m_oldValue, m_important, nullptr, IGNORE_EXCEPTION); |
+ m_element->style()->setPropertyInternal(m_property, String(), m_oldValue, |
+ m_important, nullptr, |
+ IGNORE_EXCEPTION_FOR_TESTING); |
} |
DEFINE_TRACE(RemoveCSSPropertyCommand) { |