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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. 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 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 "modules/compositorworker/CompositorWorkerThread.h" 5 #include "modules/compositorworker/CompositorWorkerThread.h"
6 6
7 #include <memory>
7 #include "core/workers/InProcessWorkerObjectProxy.h" 8 #include "core/workers/InProcessWorkerObjectProxy.h"
8 #include "core/workers/WorkerThreadStartupData.h" 9 #include "core/workers/WorkerThreadStartupData.h"
9 #include "modules/compositorworker/CompositorWorkerGlobalScope.h" 10 #include "modules/compositorworker/CompositorWorkerGlobalScope.h"
10 #include "platform/instrumentation/tracing/TraceEvent.h" 11 #include "platform/instrumentation/tracing/TraceEvent.h"
11 #include "wtf/Assertions.h" 12 #include "platform/wtf/Assertions.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 std::unique_ptr<CompositorWorkerThread> CompositorWorkerThread::Create( 16 std::unique_ptr<CompositorWorkerThread> CompositorWorkerThread::Create(
17 PassRefPtr<WorkerLoaderProxy> worker_loader_proxy, 17 PassRefPtr<WorkerLoaderProxy> worker_loader_proxy,
18 InProcessWorkerObjectProxy& worker_object_proxy, 18 InProcessWorkerObjectProxy& worker_object_proxy,
19 double time_origin) { 19 double time_origin) {
20 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"), 20 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"),
21 "CompositorWorkerThread::create"); 21 "CompositorWorkerThread::create");
22 ASSERT(IsMainThread()); 22 ASSERT(IsMainThread());
(...skipping 14 matching lines...) Expand all
37 37
38 WorkerOrWorkletGlobalScope* CompositorWorkerThread::CreateWorkerGlobalScope( 38 WorkerOrWorkletGlobalScope* CompositorWorkerThread::CreateWorkerGlobalScope(
39 std::unique_ptr<WorkerThreadStartupData> startup_data) { 39 std::unique_ptr<WorkerThreadStartupData> startup_data) {
40 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"), 40 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"),
41 "CompositorWorkerThread::createWorkerGlobalScope"); 41 "CompositorWorkerThread::createWorkerGlobalScope");
42 return CompositorWorkerGlobalScope::Create(this, std::move(startup_data), 42 return CompositorWorkerGlobalScope::Create(this, std::move(startup_data),
43 time_origin_); 43 time_origin_);
44 } 44 }
45 45
46 } // namespace blink 46 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698