Index: third_party/WebKit/Source/core/exported/SharedWorkerRepositoryClientImpl.cpp |
diff --git a/third_party/WebKit/Source/core/exported/SharedWorkerRepositoryClientImpl.cpp b/third_party/WebKit/Source/core/exported/SharedWorkerRepositoryClientImpl.cpp |
index 08fbfb0eed1184b66d46ff884ac5818b0fe88954..c03a778463467d94682033a30f91fb22649604df 100644 |
--- a/third_party/WebKit/Source/core/exported/SharedWorkerRepositoryClientImpl.cpp |
+++ b/third_party/WebKit/Source/core/exported/SharedWorkerRepositoryClientImpl.cpp |
@@ -34,6 +34,7 @@ |
#include <utility> |
#include "core/dom/ExecutionContext.h" |
#include "core/events/Event.h" |
+#include "core/frame/Settings.h" |
#include "core/frame/UseCounter.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/probe/CoreProbes.h" |
@@ -144,6 +145,7 @@ void SharedWorkerRepositoryClientImpl::Connect( |
worker->GetExecutionContext()->GetSecurityContext().AddressSpace(), |
is_secure_context ? kWebSharedWorkerCreationContextTypeSecure |
: kWebSharedWorkerCreationContextTypeNonsecure, |
+ document->GetFrame()->GetSettings()->GetDataSaverEnabled(), |
std::move(port), std::move(listener)); |
} |