Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp

Issue 2527353002: Phase II Step 3: Reload LoFi/placeholder images via new ImageResource
Patch Set: Reflect comments and rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
index 67e8d61ac7e7b0d9f8beec6757467af28fae0979..d5d41a5d12c89134b0dc92be6a851664c5b6ef6d 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
@@ -416,6 +416,11 @@ void ResourceLoader::didFinishLoadingFirstPartInMultipart() {
ResourceFetcher::DidFinishFirstPartInMultipart);
}
+void ResourceLoader::reloadIfLoFiOrPlaceholderImage(Resource* resource) {
+ resource->reloadIfLoFiOrPlaceholderImage(m_fetcher.get(),
+ Resource::kReloadIfNeeded);
+}
+
void ResourceLoader::didFinishLoading(double finishTime,
int64_t encodedDataLength,
int64_t encodedBodyLength) {
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698