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

Side by Side Diff: Source/modules/compositorworker/CompositorWorkerThread.h

Issue 1041053005: Oilpan: fix WorkerThreadStartupData finalization handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add comment clarifying use of CrossThreadPersistent<> Created 5 years, 8 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 | Annotate | Revision Log
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 #ifndef CompositorWorkerThread_h 5 #ifndef CompositorWorkerThread_h
6 #define CompositorWorkerThread_h 6 #define CompositorWorkerThread_h
7 7
8 #include "core/workers/WorkerThread.h" 8 #include "core/workers/WorkerThread.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WorkerObjectProxy; 12 class WorkerObjectProxy;
13 13
14 class CompositorWorkerThread final : public WorkerThread { 14 class CompositorWorkerThread final : public WorkerThread {
15 public: 15 public:
16 static PassRefPtr<CompositorWorkerThread> create(PassRefPtr<WorkerLoaderProx y>, WorkerObjectProxy&, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadSt artupData>); 16 static PassRefPtr<CompositorWorkerThread> create(PassRefPtr<WorkerLoaderProx y>, WorkerObjectProxy&, double timeOrigin, PassOwnPtr<WorkerThreadStartupData>);
17 virtual ~CompositorWorkerThread(); 17 virtual ~CompositorWorkerThread();
18 18
19 WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; } 19 WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; }
20 20
21 private: 21 private:
22 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, do uble timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>); 22 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, do uble timeOrigin, PassOwnPtr<WorkerThreadStartupData>);
23 23
24 // WorkerThread: 24 // WorkerThread:
25 PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr WillBeRawPtr<WorkerThreadStartupData>) override; 25 PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr <WorkerThreadStartupData>) override;
26 26
27 WorkerObjectProxy& m_workerObjectProxy; 27 WorkerObjectProxy& m_workerObjectProxy;
28 double m_timeOrigin; 28 double m_timeOrigin;
29 }; 29 };
30 30
31 } // namespace blink 31 } // namespace blink
32 32
33 #endif // CompositorWorkerThread_h 33 #endif // CompositorWorkerThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698