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

Side by Side Diff: third_party/WebKit/Source/platform/WebScheduler.cpp

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix 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 "public/platform/WebScheduler.h" 5 #include "platform/scheduler/child/web_scheduler.h"
6 6
7 #include "platform/WebFrameScheduler.h" 7 #include "platform/WebFrameScheduler.h"
8 #include "platform/wtf/Assertions.h" 8 #include "platform/wtf/Assertions.h"
9 #include "public/platform/WebTraceLocation.h" 9 #include "public/platform/WebTraceLocation.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 namespace { 13 namespace {
14 14
15 class IdleTaskRunner : public WebThread::IdleTask { 15 class IdleTaskRunner : public WebThread::IdleTask {
(...skipping 20 matching lines...) Expand all
36 PostIdleTask(location, new IdleTaskRunner(std::move(idle_task))); 36 PostIdleTask(location, new IdleTaskRunner(std::move(idle_task)));
37 } 37 }
38 38
39 void WebScheduler::PostNonNestableIdleTask( 39 void WebScheduler::PostNonNestableIdleTask(
40 const WebTraceLocation& location, 40 const WebTraceLocation& location,
41 std::unique_ptr<IdleTask> idle_task) { 41 std::unique_ptr<IdleTask> idle_task) {
42 PostNonNestableIdleTask(location, new IdleTaskRunner(std::move(idle_task))); 42 PostNonNestableIdleTask(location, new IdleTaskRunner(std::move(idle_task)));
43 } 43 }
44 44
45 } // namespace blink 45 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/TimerTest.cpp ('k') | third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698