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

Unified Diff: cc/surfaces/display.cc

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | cc/surfaces/surface_id.h » ('j') | cc/surfaces/surface_id.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index b8a331abd25a00c870e313dbbe3d20fcfd70a779..b7b00e819ec05554bb975b86d2ec7d59aa88159f 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -111,7 +111,7 @@ bool Display::Initialize(std::unique_ptr<OutputSurface> output_surface,
}
void Display::SetSurfaceId(SurfaceId id, float device_scale_factor) {
- DCHECK_EQ(id.id_namespace(), compositor_surface_namespace_);
+ DCHECK_EQ(id.id_namespace, compositor_surface_namespace_);
if (current_surface_id_ == id && device_scale_factor_ == device_scale_factor)
return;
« no previous file with comments | « no previous file | cc/surfaces/surface_id.h » ('j') | cc/surfaces/surface_id.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698