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

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

Issue 1309463002: CompositorWorker is now always on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/modules/compositorworker/CompositorWorker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CompositorWorker_h 5 #ifndef CompositorWorker_h
6 #define CompositorWorker_h 6 #define CompositorWorker_h
7 7
8 #include "core/workers/InProcessWorkerBase.h" 8 #include "core/workers/InProcessWorkerBase.h"
9 #include "wtf/PassRefPtr.h" 9 #include "wtf/PassRefPtr.h"
10 #include "wtf/text/AtomicString.h" 10 #include "wtf/text/AtomicString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ExceptionState; 14 class ExceptionState;
15 class ExecutionContext; 15 class ExecutionContext;
16 class WorkerGlobalScopeProxy; 16 class WorkerGlobalScopeProxy;
17 17
18 class CompositorWorker final : public InProcessWorkerBase { 18 class CompositorWorker final : public InProcessWorkerBase {
19 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
20 public: 20 public:
21 static PassRefPtrWillBeRawPtr<CompositorWorker> create(ExecutionContext*, co nst String& url, ExceptionState&); 21 static CompositorWorker* create(ExecutionContext*, const String& url, Except ionState&);
22 ~CompositorWorker() override; 22 ~CompositorWorker() override;
23 23
24 const AtomicString& interfaceName() const override; 24 const AtomicString& interfaceName() const override;
25 WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContext*) over ride; 25 WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContext*) over ride;
26 26
27 private: 27 private:
28 explicit CompositorWorker(ExecutionContext*); 28 explicit CompositorWorker(ExecutionContext*);
29 }; 29 };
30 30
31 } // namespace blink 31 } // namespace blink
32 32
33 #endif // CompositorWorker_h 33 #endif // CompositorWorker_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/compositorworker/CompositorWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698