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

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

Issue 2537753002: Remove WebURLLoader* argument from WebURLLoaderClient methods (Closed)
Patch Set: a Created 4 years, 1 month 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 0dae78e07f2abdc91d4f179feb783582253255d3..4773cdcc2cc06e4d4895ce7d7daf4e527ec05fd7 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -508,8 +508,7 @@ void ImageResource::updateImage(bool allDataReceived) {
if (!errorOccurred())
setStatus(DecodeError);
if (!allDataReceived && loader()) {
- loader()->didFinishLoading(nullptr, monotonicallyIncreasingTime(), size,
- size);
+ loader()->didFinishLoading(monotonicallyIncreasingTime(), size, size);
}
memoryCache()->remove(this);
}
« no previous file with comments | « content/renderer/fetchers/resource_fetcher_impl.cc ('k') | third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698