Index: cc/surfaces/surface_manager.cc |
diff --git a/cc/surfaces/surface_manager.cc b/cc/surfaces/surface_manager.cc |
index b03b81e7ba8c8a050c68fe3bfd91ca10e51d8039..412e5c4c4dedfe7f2cd2064a3d47f43407a28e0e 100644 |
--- a/cc/surfaces/surface_manager.cc |
+++ b/cc/surfaces/surface_manager.cc |
@@ -120,8 +120,7 @@ void SurfaceManager::SatisfySequence(const SurfaceSequence& sequence) { |
} |
void SurfaceManager::RegisterFrameSinkId(const FrameSinkId& frame_sink_id) { |
- bool inserted = valid_frame_sink_ids_.insert(frame_sink_id).second; |
- DCHECK(inserted); |
+ valid_frame_sink_ids_.insert(frame_sink_id); |
danakj
2017/01/31 20:19:17
Why this change?
Alex Z.
2017/01/31 21:09:30
From fsamuel's earlier comment:
ui::Compositor Re
danakj
2017/01/31 21:49:40
Can we have a parameter passed around maybe saying
danakj
2017/02/03 18:48:43
I'm not seeing anything in the replies to this, di
Alex Z.
2017/02/03 19:32:20
I added a flag to CompositorFrameSinkSupport in pa
|
} |
void SurfaceManager::InvalidateFrameSinkId(const FrameSinkId& frame_sink_id) { |