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

Side by Side Diff: gpu/ipc/service/gpu_channel_test_common.cc

Issue 1965893006: Fix include path for moved thread_task_runner_handle.h header in gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "gpu/ipc/service/gpu_channel_test_common.h" 5 #include "gpu/ipc/service/gpu_channel_test_common.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/test/test_simple_task_runner.h" 8 #include "base/test/test_simple_task_runner.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "gpu/command_buffer/service/sync_point_manager.h" 10 #include "gpu/command_buffer/service/sync_point_manager.h"
11 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" 11 #include "gpu/ipc/service/gpu_channel_manager_delegate.h"
12 #include "ipc/ipc_test_sink.h" 12 #include "ipc/ipc_test_sink.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace gpu { 15 namespace gpu {
16 16
17 TestGpuChannelManagerDelegate::TestGpuChannelManagerDelegate() {} 17 TestGpuChannelManagerDelegate::TestGpuChannelManagerDelegate() {}
18 18
19 TestGpuChannelManagerDelegate::~TestGpuChannelManagerDelegate() {} 19 TestGpuChannelManagerDelegate::~TestGpuChannelManagerDelegate() {}
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 GpuChannelTestCommon::~GpuChannelTestCommon() { 158 GpuChannelTestCommon::~GpuChannelTestCommon() {
159 // Destroying channels causes tasks to run on the IO task runner. 159 // Destroying channels causes tasks to run on the IO task runner.
160 channel_manager_ = nullptr; 160 channel_manager_ = nullptr;
161 // Clear pending tasks to avoid refptr cycles that get flagged by ASAN. 161 // Clear pending tasks to avoid refptr cycles that get flagged by ASAN.
162 task_runner_->ClearPendingTasks(); 162 task_runner_->ClearPendingTasks();
163 io_task_runner_->ClearPendingTasks(); 163 io_task_runner_->ClearPendingTasks();
164 } 164 }
165 165
166 } // namespace gpu 166 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/tools/compositor_model_bench/compositor_model_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698