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

Issue 2557853002: cc: Unregister FrameSink hierarchy on CompositorFrameSinkSupport destruction (Closed)

Created:
4 years ago by Fady Samuel
Modified:
4 years ago
Reviewers:
kylechar, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Unregister FrameSink hierarchy on CompositorFrameSinkSupport destruction A CompositorFrameSinkSupport may be destroyed during test tear down without Unregistering all BeginFrame children. This causes a DCHECK to fail in SurfaceManager. With this change, CompositorFrameSinkSupport keeps a set of all child FrameSinkIds, and Unregisters the FrameSinks at destruction if any remain. BUG=666481 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/15ee57778085a2abef4a6548cd79c28daa16e3c3 Cr-Commit-Position: refs/heads/master@{#436735}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M cc/surfaces/compositor_frame_sink_support.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Fady Samuel
4 years ago (2016-12-06 19:51:54 UTC) #4
Fady Samuel
+piman@ for OWNERs
4 years ago (2016-12-06 20:00:18 UTC) #7
kylechar
lgtm
4 years ago (2016-12-06 21:03:57 UTC) #10
piman
LGTM to fix things. But would it be useful to do this in SurfaceManager::InvalidateFrameSinkId(parent_frame_sink_id) instead, ...
4 years ago (2016-12-06 21:15:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557853002/1
4 years ago (2016-12-06 21:20:41 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-06 21:28:12 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-06 21:32:05 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/15ee57778085a2abef4a6548cd79c28daa16e3c3
Cr-Commit-Position: refs/heads/master@{#436735}

Powered by Google App Engine
This is Rietveld 408576698