summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-16 09:59:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-20 10:28:53 +0000
commit6c11fb357ec39bf087b8b632e2b1e375aef1b38b (patch)
treec8315530db18a8ee566521c39ab8a6af4f72bc03 /chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc
parent3ffaed019d0772e59d6cdb2d0d32fe4834c31f72 (diff)
downloadqtwebengine-chromium-6c11fb357ec39bf087b8b632e2b1e375aef1b38b.tar.gz
BASELINE: Update Chromium to 74.0.3729.159
Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc b/chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc
index 0663b31f295..fcd442b9324 100644
--- a/chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc
+++ b/chromium/third_party/blink/renderer/core/workers/dedicated_worker_messaging_proxy.cc
@@ -41,7 +41,7 @@ void DedicatedWorkerMessagingProxy::StartWorkerGlobalScope(
std::unique_ptr<GlobalScopeCreationParams> creation_params,
const WorkerOptions* options,
const KURL& script_url,
- FetchClientSettingsObjectSnapshot* outside_settings_object,
+ const FetchClientSettingsObjectSnapshot& outside_settings_object,
const v8_inspector::V8StackTraceId& stack_id,
const String& source_code) {
DCHECK(IsParentContextThread());
@@ -179,7 +179,7 @@ void DedicatedWorkerMessagingProxy::DispatchErrorEvent(
// "Thus, error reports propagate up to the chain of dedicated workers up to
// the original Document, even if some of the workers along this chain have
// been terminated and garbage collected."
- // https://html.spec.whatwg.org/multipage/workers.html#runtime-script-errors-2
+ // https://html.spec.whatwg.org/C/#runtime-script-errors-2
ErrorEvent* event =
ErrorEvent::Create(error_message, location->Clone(), nullptr);
if (worker_object_->DispatchEvent(*event) !=
@@ -194,7 +194,7 @@ void DedicatedWorkerMessagingProxy::DispatchErrorEvent(
// The HTML spec requires to queue an error event using the DOM manipulation
// task source.
- // https://html.spec.whatwg.org/multipage/workers.html#runtime-script-errors-2
+ // https://html.spec.whatwg.org/C/#runtime-script-errors-2
PostCrossThreadTask(
*GetWorkerThread()->GetTaskRunner(TaskType::kDOMManipulation), FROM_HERE,
CrossThreadBind(&DedicatedWorkerObjectProxy::ProcessUnhandledException,
@@ -225,8 +225,8 @@ DedicatedWorkerMessagingProxy::CreateBackingThreadStartupData(
std::unique_ptr<WorkerThread>
DedicatedWorkerMessagingProxy::CreateWorkerThread() {
- return DedicatedWorkerThread::Create(
- worker_object_->Name(), GetExecutionContext(), WorkerObjectProxy());
+ return DedicatedWorkerThread::Create(GetExecutionContext(),
+ WorkerObjectProxy());
}
} // namespace blink