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

Unified Diff: components/mus/server_view.cc

Issue 1328953003: Mandoline: Support transforms and clipping of OOPIFs and events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO Created 5 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 | « components/mus/display_manager_delegate.h ('k') | components/mus/surfaces/surfaces_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/server_view.cc
diff --git a/components/mus/server_view.cc b/components/mus/server_view.cc
index 41df1183b9536c9fd80dc645611ca1b3e673a7c2..d31903321922a002dc3dcb568eb6952cc36f1110 100644
--- a/components/mus/server_view.cc
+++ b/components/mus/server_view.cc
@@ -255,8 +255,8 @@ void ServerView::SubmitCompositorFrame(
new cc::SurfaceFactory(delegate_->GetSurfacesState()->manager(), this));
}
if (!surface_id_allocator_) {
- surface_id_allocator_.reset(new cc::SurfaceIdAllocator(
- delegate_->GetSurfacesState()->next_id_namespace()));
+ surface_id_allocator_.reset(
+ new cc::SurfaceIdAllocator(ViewIdToTransportId(id())));
}
if (surface_id().is_null()) {
// Create a Surface ID for the first time for this view.
« no previous file with comments | « components/mus/display_manager_delegate.h ('k') | components/mus/surfaces/surfaces_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698