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

Side by Side Diff: Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp

Issue 1240223003: Oilpan: remove unnecessary ENABLE(OILPAN) protections of trace() calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 "config.h" 5 #include "config.h"
6 #include "modules/compositorworker/CompositorWorkerGlobalScope.h" 6 #include "modules/compositorworker/CompositorWorkerGlobalScope.h"
7 7
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/SerializedScriptValue.h"
9 #include "core/workers/WorkerObjectProxy.h" 9 #include "core/workers/WorkerObjectProxy.h"
10 #include "core/workers/WorkerThreadStartupData.h" 10 #include "core/workers/WorkerThreadStartupData.h"
(...skipping 16 matching lines...) Expand all
27 , m_callbackCollection(this) 27 , m_callbackCollection(this)
28 { 28 {
29 } 29 }
30 30
31 CompositorWorkerGlobalScope::~CompositorWorkerGlobalScope() 31 CompositorWorkerGlobalScope::~CompositorWorkerGlobalScope()
32 { 32 {
33 } 33 }
34 34
35 DEFINE_TRACE(CompositorWorkerGlobalScope) 35 DEFINE_TRACE(CompositorWorkerGlobalScope)
36 { 36 {
37 #if ENABLE(OILPAN)
38 visitor->trace(m_callbackCollection); 37 visitor->trace(m_callbackCollection);
39 #endif
40 WorkerGlobalScope::trace(visitor); 38 WorkerGlobalScope::trace(visitor);
41 } 39 }
42 40
43 const AtomicString& CompositorWorkerGlobalScope::interfaceName() const 41 const AtomicString& CompositorWorkerGlobalScope::interfaceName() const
44 { 42 {
45 return EventTargetNames::CompositorWorkerGlobalScope; 43 return EventTargetNames::CompositorWorkerGlobalScope;
46 } 44 }
47 45
48 void CompositorWorkerGlobalScope::postMessage(ExecutionContext* executionContext , PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, Exce ptionState& exceptionState) 46 void CompositorWorkerGlobalScope::postMessage(ExecutionContext* executionContext , PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, Exce ptionState& exceptionState)
49 { 47 {
(...skipping 18 matching lines...) Expand all
68 { 66 {
69 m_callbackCollection.executeCallbacks(highResTimeNow, highResTimeNow); 67 m_callbackCollection.executeCallbacks(highResTimeNow, highResTimeNow);
70 } 68 }
71 69
72 CompositorWorkerThread* CompositorWorkerGlobalScope::thread() const 70 CompositorWorkerThread* CompositorWorkerGlobalScope::thread() const
73 { 71 {
74 return static_cast<CompositorWorkerThread*>(WorkerGlobalScope::thread()); 72 return static_cast<CompositorWorkerThread*>(WorkerGlobalScope::thread());
75 } 73 }
76 74
77 } // namespace blink 75 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/canvas2d/CanvasRenderingContext2D.cpp ('k') | Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698