Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
index 503a775758c2357efb9c415d85aca523cd5a61bf..bb85cabc102024b01ed59a11553d09c936f79c67 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
@@ -1180,7 +1180,7 @@ void EditingStyle::mergeStyle(const StylePropertySet* style, CSSPropertyOverride |
} |
if (mode == OverrideValues || (mode == DoNotOverrideValues && !value)) |
- m_mutableStyle->setProperty(property.id(), property.value()->cssText(), property.isImportant()); |
+ m_mutableStyle->setProperty(property.toCSSProperty()); |
} |
} |