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

Side by Side Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "web/CompositorMutatorImpl.h" 5 #include "web/CompositorMutatorImpl.h"
6 6
7 #include "core/animation/CustomCompositorAnimationManager.h" 7 #include "core/animation/CustomCompositorAnimationManager.h"
8 #include "core/dom/CompositorProxy.h" 8 #include "core/dom/CompositorProxy.h"
9 #include "platform/CrossThreadFunctional.h" 9 #include "platform/CrossThreadFunctional.h"
10 #include "platform/WaitableEvent.h" 10 #include "platform/WaitableEvent.h"
11 #include "platform/graphics/CompositorMutationsTarget.h" 11 #include "platform/graphics/CompositorMutationsTarget.h"
12 #include "platform/graphics/CompositorMutatorClient.h" 12 #include "platform/graphics/CompositorMutatorClient.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 #include "platform/instrumentation/tracing/TraceEvent.h" 14 #include "platform/instrumentation/tracing/TraceEvent.h"
15 #include "platform/wtf/PtrUtil.h"
15 #include "public/platform/Platform.h" 16 #include "public/platform/Platform.h"
16 #include "web/CompositorAnimator.h" 17 #include "web/CompositorAnimator.h"
17 #include "wtf/PtrUtil.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 namespace { 21 namespace {
22 22
23 void createCompositorMutatorClient( 23 void createCompositorMutatorClient(
24 std::unique_ptr<CompositorMutatorClient>* ptr, 24 std::unique_ptr<CompositorMutatorClient>* ptr,
25 WaitableEvent* doneEvent) { 25 WaitableEvent* doneEvent) {
26 CompositorMutatorImpl* mutator = CompositorMutatorImpl::create(); 26 CompositorMutatorImpl* mutator = CompositorMutatorImpl::create();
27 ptr->reset(new CompositorMutatorClient(mutator, mutator->animationManager())); 27 ptr->reset(new CompositorMutatorClient(mutator, mutator->animationManager()));
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 m_animators.erase(animator); 90 m_animators.erase(animator);
91 } 91 }
92 92
93 void CompositorMutatorImpl::setNeedsMutate() { 93 void CompositorMutatorImpl::setNeedsMutate() {
94 DCHECK(!isMainThread()); 94 DCHECK(!isMainThread());
95 TRACE_EVENT0("compositor-worker", "CompositorMutatorImpl::setNeedsMutate"); 95 TRACE_EVENT0("compositor-worker", "CompositorMutatorImpl::setNeedsMutate");
96 m_client->setNeedsMutate(); 96 m_client->setNeedsMutate();
97 } 97 }
98 98
99 } // namespace blink 99 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/CompositorMutatorImpl.h ('k') | third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698