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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" Created 3 years, 7 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: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 1f51af05768cec3ce702e55f26f648b462ed9ede..16375f8e0fdc41b2d8486c34d0922e9ff9a65596 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -2210,7 +2210,7 @@ void RenderThreadImpl::OnCreateNewSharedWorker(
new EmbeddedSharedWorkerStub(
params.url, params.name, params.content_security_policy,
params.security_policy_type, params.creation_address_space,
- params.pause_on_start, params.route_id);
+ params.pause_on_start, params.route_id, params.data_saver_flag);
}
void RenderThreadImpl::OnMemoryPressure(

Powered by Google App Engine
This is Rietveld 408576698