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

Unified Diff: ui/aura/window.cc

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix unittests 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 44bb18bef197ec96fdd37a771482b9f233c351f0..893af1cd3f3ac8d442bb66dffc805af6789e6c88 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,
sadrul 2017/05/26 20:22:25 these extra params don't seem necessary? Can Windo
Peng 2017/05/26 20:41:32 I added this two args, because we want to get rid
sadrul 2017/05/27 01:43:22 I see. I guess you need the ContextProvider param,
+ aura::Env::GetInstance()->context_factory()->GetGpuMemoryBufferManager());
}
cc::SurfaceId Window::GetSurfaceId() const {

Powered by Google App Engine
This is Rietveld 408576698