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

Side by Side Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp

Issue 2124693002: Worker: Fix broken GC logic on Dedicated Worker while DOMTimer is set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/workers/DedicatedWorkerMessagingProxy.h" 5 #include "core/workers/DedicatedWorkerMessagingProxy.h"
6 6
7 #include "core/workers/DedicatedWorkerThread.h" 7 #include "core/workers/DedicatedWorkerThread.h"
8 #include "core/workers/InProcessWorkerBase.h"
8 #include "core/workers/WorkerClients.h" 9 #include "core/workers/WorkerClients.h"
9 #include <memory> 10 #include <memory>
10 11
11 namespace blink { 12 namespace blink {
12 13
13 DedicatedWorkerMessagingProxy::DedicatedWorkerMessagingProxy(InProcessWorkerBase * workerObject, WorkerClients* workerClients) 14 DedicatedWorkerMessagingProxy::DedicatedWorkerMessagingProxy(InProcessWorkerBase * workerObject, WorkerClients* workerClients)
14 : InProcessWorkerMessagingProxy(workerObject, workerClients) 15 : InProcessWorkerMessagingProxy(workerObject->getExecutionContext(), workerO bject, workerClients)
15 { 16 {
16 } 17 }
17 18
18 DedicatedWorkerMessagingProxy::~DedicatedWorkerMessagingProxy() 19 DedicatedWorkerMessagingProxy::~DedicatedWorkerMessagingProxy()
19 { 20 {
20 } 21 }
21 22
22 std::unique_ptr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread( double originTime) 23 std::unique_ptr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread( double originTime)
23 { 24 {
24 return DedicatedWorkerThread::create(loaderProxy(), workerObjectProxy(), ori ginTime); 25 return DedicatedWorkerThread::create(loaderProxy(), workerObjectProxy(), ori ginTime);
25 } 26 }
26 27
27 } // namespace blink 28 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698