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

Unified Diff: content/browser/renderer_host/compositor_impl_android.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 | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 9018c46d07239b652c5cf2c2ad5bce4eacfc4647..0b6d0cb5c1e67c1e2e96a763e660ee0372933c4a 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -45,7 +45,7 @@
#include "cc/surfaces/display.h"
#include "cc/surfaces/display_scheduler.h"
#include "cc/surfaces/surface_id_allocator.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 "components/display_compositor/compositor_overlay_candidate_validator_android.h"
#include "components/display_compositor/gl_helper.h"
@@ -495,7 +495,7 @@ void CompositorImpl::CreateLayerTreeHost() {
command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
settings.single_thread_proxy_scheduler = true;
- cc::LayerTreeHost::InitParams params;
+ cc::LayerTreeHostInProcess::InitParams params;
params.client = this;
params.shared_bitmap_manager = HostSharedBitmapManager::current();
params.gpu_memory_buffer_manager = BrowserGpuMemoryBufferManager::current();
@@ -503,7 +503,7 @@ void CompositorImpl::CreateLayerTreeHost() {
params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
params.settings = &settings;
params.animation_host = cc::AnimationHost::CreateMainInstance();
- host_ = cc::LayerTreeHost::CreateSingleThreaded(this, &params);
+ host_ = cc::LayerTreeHostInProcess::CreateSingleThreaded(this, &params);
DCHECK(!host_->IsVisible());
host_->GetLayerTree()->SetRootLayer(root_window_->GetLayer());
host_->SetSurfaceClientId(surface_id_allocator_->client_id());
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698