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 6853498417baf794df2e1c36bbda7ed734b20b9e..8b403cebd54a721cc45959d196aca27b32c61926 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp |
@@ -58,12 +58,12 @@ void RemoveCSSPropertyCommand::doApply() |
// Mutate using the CSSOM wrapper so we get the same event behavior as a script. |
// Setting to null string removes the property. We don't have internal version of removeProperty. |
- m_element->style()->setPropertyInternal(m_property, String(), false, IGNORE_EXCEPTION); |
+ m_element->style()->setPropertyInternal(m_property, String(), String(), false, IGNORE_EXCEPTION); |
} |
void RemoveCSSPropertyCommand::doUnapply() |
{ |
- m_element->style()->setPropertyInternal(m_property, m_oldValue, m_important, IGNORE_EXCEPTION); |
+ m_element->style()->setPropertyInternal(m_property, String(), m_oldValue, m_important, IGNORE_EXCEPTION); |
} |
DEFINE_TRACE(RemoveCSSPropertyCommand) |