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

Side by Side Diff: blimp/client/support/compositor/compositor_dependencies_impl.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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "blimp/client/support/compositor/compositor_dependencies_impl.h" 5 #include "blimp/client/support/compositor/compositor_dependencies_impl.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "blimp/client/support/compositor/blimp_context_provider.h" 8 #include "blimp/client/support/compositor/blimp_context_provider.h"
8 #include "blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h" 9 #include "blimp/client/support/compositor/blimp_gpu_memory_buffer_manager.h"
9 #include "blimp/client/support/compositor/blimp_layer_tree_settings.h" 10 #include "blimp/client/support/compositor/blimp_layer_tree_settings.h"
10 #include "cc/output/context_provider.h" 11 #include "cc/output/context_provider.h"
11 #include "cc/surfaces/surface_manager.h" 12 #include "cc/surfaces/surface_manager.h"
12 #include "cc/trees/layer_tree_settings.h" 13 #include "cc/trees/layer_tree_settings.h"
13 #include "gpu/ipc/common/surface_handle.h" 14 #include "gpu/ipc/common/surface_handle.h"
14 15
15 namespace blimp { 16 namespace blimp {
16 namespace client { 17 namespace client {
(...skipping 24 matching lines...) Expand all
41 scoped_refptr<cc::ContextProvider> compositor_context = 42 scoped_refptr<cc::ContextProvider> compositor_context =
42 BlimpContextProvider::Create(gpu::kNullSurfaceHandle, 43 BlimpContextProvider::Create(gpu::kNullSurfaceHandle,
43 gpu_memory_buffer_manager_.get()); 44 gpu_memory_buffer_manager_.get());
44 45
45 // TODO(khushalsagar): Make a worker context and bind to the current thread. 46 // TODO(khushalsagar): Make a worker context and bind to the current thread.
46 callback.Run(compositor_context, nullptr); 47 callback.Run(compositor_context, nullptr);
47 } 48 }
48 49
49 } // namespace client 50 } // namespace client
50 } // namespace blimp 51 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698