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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ImageResource.cpp

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() Created 3 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/loader/resource/ImageResource.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
index 98f185d7c86edfe4841449174ee217ba3e4028cb..a4ea540f3cc75389f091f095f1da2f7c73a00479 100644
--- a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
@@ -134,7 +134,8 @@ class ImageResource::ImageResourceFactory : public ResourceFactory {
Resource* Create(const ResourceRequest& request,
const ResourceLoaderOptions& options,
- const String&) const override {
+ const String&,
+ FetchContext*) const override {
return new ImageResource(request, options, ImageResourceContent::Create(),
fetch_params_->GetPlaceholderImageRequestType() ==
FetchParameters::kAllowPlaceholder);

Powered by Google App Engine
This is Rietveld 408576698