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

Unified Diff: ui/compositor/compositor.cc

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: comment fix Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 2f071be20c20e05a2003a58ba4f0a8009e96da05..03d60354235e6a33951b3dc1e6017667216993a0 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -30,7 +30,8 @@
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/surface_id_allocator.h"
#include "cc/surfaces/surface_manager.h"
-#include "cc/trees/layer_tree_host.h"
+#include "cc/trees/layer_tree_host_in_process.h"
+#include "cc/trees/layer_tree_settings.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/compositor/compositor_observer.h"
#include "ui/compositor/compositor_switches.h"
@@ -192,7 +193,7 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
base::TimeTicks before_create = base::TimeTicks::Now();
- cc::LayerTreeHost::InitParams params;
+ cc::LayerTreeHostInProcess::InitParams params;
params.client = this;
params.shared_bitmap_manager = context_factory_->GetSharedBitmapManager();
params.gpu_memory_buffer_manager =
@@ -201,7 +202,7 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
params.settings = &settings;
params.main_task_runner = task_runner_;
params.animation_host = cc::AnimationHost::CreateMainInstance();
- host_ = cc::LayerTreeHost::CreateSingleThreaded(this, &params);
+ host_ = cc::LayerTreeHostInProcess::CreateSingleThreaded(this, &params);
UMA_HISTOGRAM_TIMES("GPU.CreateBrowserCompositor",
base::TimeTicks::Now() - before_create);
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698