Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Element.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
| index 4048627057cfba89fd7ef6947df9c88e11af6486..a5f1d219583146dcca60e408fa7c08fd321eedd3 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -4015,8 +4015,7 @@ void Element::SynchronizeStyleAttributeInternal() const { |
| GetElementData()->style_attribute_is_dirty_ = false; |
| const StylePropertySet* inline_style = this->InlineStyle(); |
| const_cast<Element*>(this)->SetSynchronizedLazyAttribute( |
| - styleAttr, |
| - inline_style ? AtomicString(inline_style->AsText()) : g_null_atom); |
| + styleAttr, AtomicString(inline_style ? inline_style->AsText() : "")); |
|
esprehn
2017/04/18 01:57:01
inline_style ? AtomicString(inline_style->AsText()
|
| } |
| CSSStyleDeclaration* Element::style() { |