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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ScriptResource.h

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix 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/ScriptResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
index 03c4c79f19f6f42ab81a0150b91f99782290aa36..3a0a9429f2340d8d4a486b704532ff5e227b9f82 100644
--- a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
@@ -85,7 +85,8 @@ class CORE_EXPORT ScriptResource final : public TextResource {
Resource* create(const ResourceRequest& request,
const ResourceLoaderOptions& options,
- const String& charset) const override {
+ const String& charset,
+ FetchContext*) const override {
return new ScriptResource(request, options, charset);
}
};

Powered by Google App Engine
This is Rietveld 408576698