Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp

Issue 2625303002: Fix CSSPropertySetterGetterMethods regression (Closed)
Patch Set: fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d81d9b37501fc24ea9665a3f3f56fbb611c061ea..916623917a34e51d311b7a4d506b97184ed43976 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
@@ -57,13 +57,12 @@ 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_FOR_TESTING);
}
void RemoveCSSPropertyCommand::doUnapply() {
m_element->style()->setPropertyInternal(m_property, String(), m_oldValue,
- m_important, nullptr,
+ m_important,
IGNORE_EXCEPTION_FOR_TESTING);
}

Powered by Google App Engine
This is Rietveld 408576698