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

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

Issue 2397963002: Reflow comments in //third_party/WebKit/Source/core/editing/commands (Closed)
Patch Set: . Created 4 years, 2 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 17137babfb5af3e0e846826eb6da91b823a612ce..99183c7e2291aa831cc075cd97fb97d4ca1c53eb 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
@@ -53,8 +53,9 @@ void RemoveCSSPropertyCommand::doApply(EditingState*) {
m_oldValue = style->getPropertyValue(m_property);
m_important = style->propertyIsImportant(m_property);
- // 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.
+ // 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(), String(), false,
IGNORE_EXCEPTION);
}

Powered by Google App Engine
This is Rietveld 408576698