Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 73dc498d4511b5a9a6aaef2429297234bbc409b6..50291e446ab3d7869dba96918e7765e95c0fc2a8 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -706,7 +706,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(StyleResolverState& sta |
bool didSet = false; |
for (auto& item : toCSSValueList(*value)) { |
if (item->isImageGeneratorValue()) { |
- state.style()->setContent(StyleGeneratedImage::create(toCSSImageGeneratorValue(*item)), didSet); |
+ state.style()->setContent(StyleGeneratedImage::create(toCSSImageGeneratorValue(item.get())), didSet); |
didSet = true; |
} else if (item->isImageSetValue()) { |
state.style()->setContent(state.elementStyleResources().setOrPendingFromValue(CSSPropertyContent, toCSSImageSetValue(*item)), didSet); |