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

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

Issue 1829403002: Clean up font loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Resource_status
Patch Set: Another rebase! 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.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
index a2ded40bc3b1c0fbe404de273fc2788053482f4f..68956909dcdda8271be126ca232e52931c32cc30 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
@@ -57,9 +57,9 @@ public:
}
// Exposed for testing
- static ImageResource* create(const ResourceRequest& request, blink::Image* image)
+ static ImageResource* create(const ResourceRequest& request)
{
- return new ImageResource(request, image, ResourceLoaderOptions());
+ return new ImageResource(request, ResourceLoaderOptions());
}
~ImageResource() override;
@@ -130,7 +130,6 @@ protected:
private:
explicit ImageResource(blink::Image*, const ResourceLoaderOptions&);
- ImageResource(const ResourceRequest&, blink::Image*, const ResourceLoaderOptions&);
enum class MultipartParsingState : uint8_t {
WaitingForFirstPart,
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FontResource.cpp ('k') | third_party/WebKit/Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698