| Index: services/ui/ws/frame_generator.cc
|
| diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
|
| index 77b9b35bd4a93fd89a8fba68ee0113dd4f0d247b..7a9a264f5d72b8601933ecba1309dd483953676b 100644
|
| --- a/services/ui/ws/frame_generator.cc
|
| +++ b/services/ui/ws/frame_generator.cc
|
| @@ -99,10 +99,10 @@ void FrameGenerator::OnSurfaceCreated(const cc::SurfaceId& surface_id,
|
| }
|
|
|
| SurfaceReference& ref = iter->second;
|
| - DCHECK(surface_id.frame_sink_id() == ref.child_id.frame_sink_id());
|
| + DCHECK_EQ(surface_id.frame_sink_id(), ref.child_id.frame_sink_id());
|
|
|
| // This shouldn't be called multiple times for the same SurfaceId.
|
| - DCHECK(surface_id.local_frame_id() != ref.child_id.local_frame_id());
|
| + DCHECK_NE(surface_id.local_frame_id(), ref.child_id.local_frame_id());
|
|
|
| // Add a reference from parent to new surface first.
|
| GetDisplayCompositor()->AddSurfaceReference(ref.parent_id, surface_id);
|
|
|