| Index: third_party/WebKit/Source/core/css/CSSImageValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.cpp b/third_party/WebKit/Source/core/css/CSSImageValue.cpp
|
| index 94237b4e0f56820d5bbcaf8fd75b9d05a7ceff0c..931bf35af9ab737f8fad31840304b43bf5bf09d4 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSImageValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSImageValue.cpp
|
| @@ -26,6 +26,7 @@
|
| #include "core/fetch/FetchRequest.h"
|
| #include "core/fetch/ImageResource.h"
|
| #include "core/fetch/ResourceFetcher.h"
|
| +#include "core/frame/Settings.h"
|
| #include "core/loader/MixedContentChecker.h"
|
| #include "core/style/StyleFetchedImage.h"
|
| #include "core/style/StyleInvalidImage.h"
|
| @@ -64,6 +65,8 @@ StyleImage* CSSImageValue::cacheImage(const Document& document,
|
| if (crossOrigin != CrossOriginAttributeNotSet)
|
| request.setCrossOriginAccessControl(document.getSecurityOrigin(),
|
| crossOrigin);
|
| + if (document.settings() && document.settings()->fetchImagePlaceholders())
|
| + request.setAllowImagePlaceholder();
|
|
|
| if (ImageResource* cachedImage =
|
| ImageResource::fetch(request, document.fetcher()))
|
|
|