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; |