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

Side by Side Diff: cc/test/pixel_test.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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/test/layer_tree_pixel_test.cc ('k') | cc/test/remote_compositor_test.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/test/pixel_test.h" 5 #include "cc/test/pixel_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/path_service.h" 9 #include "base/path_service.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "cc/base/switches.h" 12 #include "cc/base/switches.h"
12 #include "cc/output/compositor_frame_metadata.h" 13 #include "cc/output/compositor_frame_metadata.h"
13 #include "cc/output/copy_output_request.h" 14 #include "cc/output/copy_output_request.h"
14 #include "cc/output/copy_output_result.h" 15 #include "cc/output/copy_output_result.h"
15 #include "cc/output/gl_renderer.h" 16 #include "cc/output/gl_renderer.h"
16 #include "cc/output/output_surface_client.h" 17 #include "cc/output/output_surface_client.h"
17 #include "cc/output/software_output_device.h" 18 #include "cc/output/software_output_device.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 auto renderer = base::MakeUnique<SoftwareRenderer>( 170 auto renderer = base::MakeUnique<SoftwareRenderer>(
170 &settings_.renderer_settings, output_surface_.get(), 171 &settings_.renderer_settings, output_surface_.get(),
171 resource_provider_.get()); 172 resource_provider_.get());
172 software_renderer_ = renderer.get(); 173 software_renderer_ = renderer.get();
173 renderer_ = std::move(renderer); 174 renderer_ = std::move(renderer);
174 renderer_->Initialize(); 175 renderer_->Initialize();
175 renderer_->SetVisible(true); 176 renderer_->SetVisible(true);
176 } 177 }
177 178
178 } // namespace cc 179 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/layer_tree_pixel_test.cc ('k') | cc/test/remote_compositor_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698