| Index: content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| index e7df34a9d428c147da067801e6018be4efbec865..0b28f320b9e9a27f4ab78219882672ecbab72e28 100644
|
| --- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| +++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| @@ -59,8 +59,11 @@ EmbeddedSharedWorkerStub::EmbeddedSharedWorkerStub(
|
| const base::string16& content_security_policy,
|
| blink::WebContentSecurityPolicyType security_policy_type,
|
| bool pause_on_start,
|
| - int route_id)
|
| - : route_id_(route_id), name_(name), runing_(false), url_(url) {
|
| + int route_id,
|
| + const base::string16& accept_languages
|
| + )
|
| + : route_id_(route_id), name_(name), runing_(false), url_(url)
|
| + , accept_languages_(accept_languages){
|
| RenderThreadImpl::current()->AddEmbeddedWorkerRoute(route_id_, this);
|
| impl_ = blink::WebSharedWorker::create(this);
|
| if (pause_on_start) {
|
| @@ -70,8 +73,8 @@ EmbeddedSharedWorkerStub::EmbeddedSharedWorkerStub(
|
| }
|
| worker_devtools_agent_.reset(
|
| new SharedWorkerDevToolsAgent(route_id, impl_));
|
| - impl_->startWorkerContext(url, name_,
|
| - content_security_policy, security_policy_type);
|
| + impl_->startWorkerContext(url, name_, content_security_policy
|
| + , security_policy_type, accept_languages_);
|
| }
|
|
|
| EmbeddedSharedWorkerStub::~EmbeddedSharedWorkerStub() {
|
|
|