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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.cpp

Issue 1889973002: Refactoring starting a resource load (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
index e8462ed803e19d9d404dc00a3218161ea093dc92..6cfc9d0f581330d8118958a7072abab403543edc 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -503,7 +503,7 @@ void ImageResource::reloadIfLoFi(ResourceFetcher* fetcher)
m_resourceRequest.setLoFiState(WebURLRequest::LoFiOff);
error(Resource::LoadError);
setStatus(NotStarted);
- load(fetcher);
+ fetcher->startLoad(this);
Yoav Weiss 2016/04/20 08:52:08 Can you DCHECK that fetcher is non-null here?
Nate Chapin 2016/05/18 23:56:04 This is only called by ResourceFetcher at the mome
}
void ImageResource::changedInRect(const blink::Image* image, const IntRect& rect)

Powered by Google App Engine
This is Rietveld 408576698