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

Unified Diff: ui/compositor/compositor.cc

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: mac build fix Created 6 years, 2 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
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 19cf689dc85bcaea8776b6038091d551c204cfa4..928e50188a0d817e083736ce49dd2c2dd600bb3a 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -128,6 +128,7 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
host_ = cc::LayerTreeHost::CreateThreaded(
this,
context_factory_->GetSharedBitmapManager(),
+ context_factory_->GetGpuMemoryBufferManager(),
settings,
task_runner_,
compositor_thread_loop_);
@@ -136,6 +137,7 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
this,
this,
context_factory_->GetSharedBitmapManager(),
+ context_factory_->GetGpuMemoryBufferManager(),
settings,
task_runner_);
}

Powered by Google App Engine
This is Rietveld 408576698