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

Unified Diff: ui/aura/window.cc

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Address review issues Created 3 years, 7 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/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 714c9f0229731d40794e89b3affb0f7c99786b30..46e061d6785bf42df82f8bac3cae0e9846578a8d 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -992,7 +992,9 @@ bool Window::CleanupGestureState() {
}
std::unique_ptr<cc::CompositorFrameSink> Window::CreateCompositorFrameSink() {
- return port_->CreateCompositorFrameSink();
+ return port_->CreateCompositorFrameSink(
+ nullptr,
+ aura::Env::GetInstance()->context_factory()->GetGpuMemoryBufferManager());
}
cc::SurfaceId Window::GetSurfaceId() const {

Powered by Google App Engine
This is Rietveld 408576698