| Index: third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
|
| index a1fdbd14778d3dff499a62718d1cdd1314636808..d0c192782cbf28e303f8e0c3bd29b9e1e1f9fbde 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
|
| @@ -101,6 +101,7 @@ StyleImage* CSSImageSetValue::CachedImage(float device_scale_factor) const {
|
| StyleImage* CSSImageSetValue::CacheImage(
|
| const Document& document,
|
| float device_scale_factor,
|
| + FetchParameters::PlaceholderImageRequestType placeholder_image_request_type,
|
| CrossOriginAttributeValue cross_origin) {
|
| if (!images_in_set_.size())
|
| FillImageSet();
|
| @@ -120,7 +121,8 @@ StyleImage* CSSImageSetValue::CacheImage(
|
| cross_origin);
|
| }
|
| if (document.GetSettings() &&
|
| - document.GetSettings()->GetFetchImagePlaceholders())
|
| + document.GetSettings()->GetFetchImagePlaceholders() &&
|
| + placeholder_image_request_type == FetchParameters::kAllowPlaceholder)
|
| params.SetAllowImagePlaceholder();
|
|
|
| if (ImageResourceContent* cached_image =
|
|
|