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

Unified Diff: blimp/client/support/compositor/blimp_embedder_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 | « blimp/client/support/compositor/blimp_embedder_compositor.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/support/compositor/blimp_embedder_compositor.cc
diff --git a/blimp/client/support/compositor/blimp_embedder_compositor.cc b/blimp/client/support/compositor/blimp_embedder_compositor.cc
index 2cfa5137337fc1cbb6ba85ec500e7f830e4619ec..33d082c8659e6dc2937a82411098253c164eb9c8 100644
--- a/blimp/client/support/compositor/blimp_embedder_compositor.cc
+++ b/blimp/client/support/compositor/blimp_embedder_compositor.cc
@@ -19,7 +19,7 @@
#include "cc/surfaces/display.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 "gpu/command_buffer/client/context_support.h"
#include "gpu/command_buffer/client/gles2_lib.h"
@@ -78,7 +78,7 @@ BlimpEmbedderCompositor::BlimpEmbedderCompositor(
compositor_dependencies_->GetSurfaceManager()->RegisterSurfaceClientId(
surface_id_allocator_->client_id());
- cc::LayerTreeHost::InitParams params;
+ cc::LayerTreeHostInProcess::InitParams params;
params.client = this;
params.gpu_memory_buffer_manager =
compositor_dependencies_->GetGpuMemoryBufferManager();
@@ -87,7 +87,7 @@ BlimpEmbedderCompositor::BlimpEmbedderCompositor(
params.settings = &settings;
params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
params.animation_host = cc::AnimationHost::CreateMainInstance();
- host_ = cc::LayerTreeHost::CreateSingleThreaded(this, &params);
+ host_ = cc::LayerTreeHostInProcess::CreateSingleThreaded(this, &params);
root_layer_->SetBackgroundColor(SK_ColorWHITE);
host_->GetLayerTree()->SetRootLayer(root_layer_);
« no previous file with comments | « blimp/client/support/compositor/blimp_embedder_compositor.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698