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

Side by Side Diff: cc/trees/blocking_task_runner.cc

Issue 1165333003: Remove unnecessary message_loop_proxy.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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 | « cc/blink/web_compositor_support_impl.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/trees/blocking_task_runner.h" 5 #include "cc/trees/blocking_task_runner.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop/message_loop_proxy.h"
12 11
13 namespace cc { 12 namespace cc {
14 13
15 // static 14 // static
16 scoped_ptr<BlockingTaskRunner> BlockingTaskRunner::Create( 15 scoped_ptr<BlockingTaskRunner> BlockingTaskRunner::Create(
17 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 16 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
18 return make_scoped_ptr(new BlockingTaskRunner(task_runner)); 17 return make_scoped_ptr(new BlockingTaskRunner(task_runner));
19 } 18 }
20 19
21 BlockingTaskRunner::BlockingTaskRunner( 20 BlockingTaskRunner::BlockingTaskRunner(
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 BlockingTaskRunner* blocking_runner) 64 BlockingTaskRunner* blocking_runner)
66 : blocking_runner_(blocking_runner) { 65 : blocking_runner_(blocking_runner) {
67 blocking_runner_->SetCapture(true); 66 blocking_runner_->SetCapture(true);
68 } 67 }
69 68
70 BlockingTaskRunner::CapturePostTasks::~CapturePostTasks() { 69 BlockingTaskRunner::CapturePostTasks::~CapturePostTasks() {
71 blocking_runner_->SetCapture(false); 70 blocking_runner_->SetCapture(false);
72 } 71 }
73 72
74 } // namespace cc 73 } // namespace cc
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_support_impl.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698