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

Unified Diff: cc/surfaces/surface_manager.cc

Issue 2612083002: DirectCompositorFrameSink Uses CompositorFrameSinkSupport (Closed)
Patch Set: Addressed nits Created 3 years, 11 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/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) {

Powered by Google App Engine
This is Rietveld 408576698