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

Unified Diff: third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp

Issue 2724673002: [WIP] Introduce ScriptResourceData
Patch Set: Compile fix Created 3 years, 4 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/WorkletScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp b/third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp
index e932937e31707601f0f3070d16fefb24bd86980d..6beb794539fe960e51f5c38ba576ca49398a4f4c 100644
--- a/third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp
@@ -52,7 +52,8 @@ void WorkletScriptLoader::NotifyFinished(Resource* resource) {
} else {
was_script_load_successful_ = true;
client_->NotifyWorkletScriptLoadingFinished(
- this, ScriptSourceCode(static_cast<ScriptResource*>(resource)));
+ this, ScriptSourceCode(
+ static_cast<ScriptResource*>(resource)->ResourceData()));
}
fetcher_ = nullptr;
client_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698