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

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

Issue 2839123003: Worklet: Introduce "pending tasks struct" concept defined in the Worklet spec (Closed)
Patch Set: address review comments 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/WorkletScriptLoader.h
diff --git a/third_party/WebKit/Source/core/loader/WorkletScriptLoader.h b/third_party/WebKit/Source/core/loader/WorkletScriptLoader.h
index 4785e7e7f12ea4e892a9028276426cb8fbdc0efb..633896f35b343536dc594786849fc9beedcb2d43 100644
--- a/third_party/WebKit/Source/core/loader/WorkletScriptLoader.h
+++ b/third_party/WebKit/Source/core/loader/WorkletScriptLoader.h
@@ -54,9 +54,6 @@ class WorkletScriptLoader final
// after Client::notifyWorkletScriptLoadingFinished() is called.
bool WasScriptLoadSuccessful() const;
- void set_request_id(int32_t request_id) { request_id_ = request_id; }
- int32_t request_id() const { return request_id_; }
-
DECLARE_TRACE();
private:
@@ -69,10 +66,6 @@ class WorkletScriptLoader final
Member<ResourceFetcher> fetcher_;
Member<Client> client_;
- // The client of this loader can freely use this field to identify a fetch
- // request.
- int32_t request_id_ = -1;
-
bool was_script_load_successful_ = false;
bool was_script_load_complete_ = false;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698