| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index adb73a602df75ebd5d50748f5c497c90c5da03b8..c69efb2559011fc867aad3d45691f35e596482d7 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -926,6 +926,16 @@ void ComputedStyle::setContent(QuoteType quote, bool add)
|
| rareNonInheritedData.access()->m_content = ContentData::create(quote);
|
| }
|
|
|
| +void ComputedStyle::setContent(ElementContent elementContent, bool add)
|
| +{
|
| + if (add) {
|
| + appendContent(ContentData::create(elementContent));
|
| + return;
|
| + }
|
| +
|
| + rareNonInheritedData.access()->m_content = ContentData::create(elementContent);
|
| +}
|
| +
|
| bool ComputedStyle::hasWillChangeCompositingHint() const
|
| {
|
| for (size_t i = 0; i < rareNonInheritedData->m_willChange->m_properties.size(); ++i) {
|
|
|