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

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: Rebase works! 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
Index: components/mus/server_view.cc
diff --git a/components/mus/server_view.cc b/components/mus/server_view.cc
index 42520a34bf91fc4514a8a6f1244cbe8f235125ed..31b57d8d8ce8b73821062dc9945005e55e5e3cd9 100644
--- a/components/mus/server_view.cc
+++ b/components/mus/server_view.cc
@@ -256,8 +256,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.

Powered by Google App Engine
This is Rietveld 408576698