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

Unified Diff: cc/surfaces/surface_id.h

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BrowserCompositorOutputSurface owns;scheduler decides Created 4 years, 9 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: cc/surfaces/surface_id.h
diff --git a/cc/surfaces/surface_id.h b/cc/surfaces/surface_id.h
index c0c4410d973f1512ce0268e5d0dd30429dc22edd..bbc485f9009f90eaf577205f31dd7d2533310b6e 100644
--- a/cc/surfaces/surface_id.h
+++ b/cc/surfaces/surface_id.h
@@ -18,6 +18,9 @@ struct SurfaceId {
bool is_null() const { return id == 0; }
+ // See SurfaceIdAllocator::GenerateId.
+ uint32_t id_namespace() const { return id >> 32; }
+
uint64_t id;
};

Powered by Google App Engine
This is Rietveld 408576698