Index: third_party/WebKit/Source/core/loader/resource/ImageResource.cpp |
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp |
index 2e353337e7b8dd350f281854b554a6bd7f7a7ed8..b319b9a30467bbd8e059d14f3a79c237e49171ad 100644 |
--- a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp |
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp |
@@ -398,8 +398,10 @@ void ImageResource::responseReceived( |
} |
static bool isLoFiImage(const ImageResource& resource) { |
- if (resource.resourceRequest().loFiState() != WebURLRequest::LoFiOn) |
+ if (!(resource.resourceRequest().previewsState() & |
+ WebURLRequest::ServerLoFiOn)) { |
return false; |
+ } |
return !resource.isLoaded() || |
resource.response() |
.httpHeaderField("chrome-proxy-content-transform") |