Index: cc/surfaces/surface.cc |
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc |
index 36772fc0d537f30fb05a39b1d82cfa5f167bcf07..ed99a1b018b0d061746f520227ad76db349a534e 100644 |
--- a/cc/surfaces/surface.cc |
+++ b/cc/surfaces/surface.cc |
@@ -98,8 +98,8 @@ void Surface::QueueFrame(std::unique_ptr<CompositorFrame> frame, |
// Notify the manager that sequences were satisfied either if some new |
// sequences were satisfied, or if the set of referenced surfaces changed |
// to force a GC to happen. |
- factory_->manager()->DidSatisfySequences( |
- SurfaceIdAllocator::NamespaceForId(surface_id_), &satisfies_sequences); |
+ factory_->manager()->DidSatisfySequences(surface_id_.id_namespace(), |
+ &satisfies_sequences); |
} |
} |