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

Side by Side Diff: components/mus/gles2/command_buffer_task_runner.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/mus/gles2/command_buffer_task_runner.h" 5 #include "components/mus/gles2/command_buffer_task_runner.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "components/mus/gles2/command_buffer_driver.h" 9 #include "components/mus/gles2/command_buffer_driver.h"
10 10
11 namespace mus { 11 namespace mus {
12 12
13 CommandBufferTaskRunner::CommandBufferTaskRunner() 13 CommandBufferTaskRunner::CommandBufferTaskRunner()
14 : task_runner_(base::ThreadTaskRunnerHandle::Get()), 14 : task_runner_(base::ThreadTaskRunnerHandle::Get()),
15 need_post_task_(true) { 15 need_post_task_(true) {
16 } 16 }
17 17
18 bool CommandBufferTaskRunner::PostTask( 18 bool CommandBufferTaskRunner::PostTask(
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Try executing all tasks in |driver_map_| until |RunOneTaskInternalLock()| 69 // Try executing all tasks in |driver_map_| until |RunOneTaskInternalLock()|
70 // returns false (Returning false means |driver_map_| is empty or all tasks 70 // returns false (Returning false means |driver_map_| is empty or all tasks
71 // in it aren't executable currently). 71 // in it aren't executable currently).
72 while (RunOneTaskInternalLocked()) 72 while (RunOneTaskInternalLocked())
73 ; 73 ;
74 need_post_task_ = true; 74 need_post_task_ = true;
75 } 75 }
76 76
77 } // namespace mus 77 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/gles2/command_buffer_local.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698