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

Unified Diff: cc/surfaces/display_scheduler.cc

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed more build targets Created 4 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: cc/surfaces/display_scheduler.cc
diff --git a/cc/surfaces/display_scheduler.cc b/cc/surfaces/display_scheduler.cc
index 881f8e55209d40fe0774e0b29fe6f5b5016ad74b..45de06ec913bde50e4948dcb9bbf6e2b8f8beccb 100644
--- a/cc/surfaces/display_scheduler.cc
+++ b/cc/surfaces/display_scheduler.cc
@@ -78,7 +78,7 @@ void DisplayScheduler::SetNewRootSurface(SurfaceId root_surface_id) {
// triggering the deadline.
void DisplayScheduler::SurfaceDamaged(SurfaceId surface_id) {
TRACE_EVENT1("cc", "DisplayScheduler::SurfaceDamaged", "surface_id",
- surface_id.id);
+ surface_id.local_id);
needs_draw_ = true;

Powered by Google App Engine
This is Rietveld 408576698