| Index: third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
|
| index 10d2c8607d4126b6935ff8b98173b75864c7ea93..3948e207db0502630466315551d47a537432a672 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
|
| @@ -660,9 +660,7 @@ ResourceFetcher::RevalidationPolicy ResourceFetcher::determineRevalidationPolicy
|
| // affected by m_imagesEnabled but not m_autoLoadImages, in order to
|
| // allow for this differing behavior.
|
| // TODO(japhet): Can we get rid of one of these settings?
|
| - if (FetchRequest::DeferredByClient == fetchRequest.defer())
|
| - return Reload;
|
| - if (existingResource->isImage() && !context().allowImage(m_imagesEnabled, existingResource->url()))
|
| + if (existingResource->isImage() && (FetchRequest::DeferredByClient == fetchRequest.defer() || !context().allowImage(m_imagesEnabled, existingResource->url())))
|
| return Reload;
|
|
|
| // Never use cache entries for downloadToFile / useStreamOnResponse
|
|
|