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

Issue 2612873003: Fix bug removing temporary surface references. (Closed)

Created:
3 years, 11 months ago by kylechar
Modified:
3 years, 11 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug removing temporary surface references. If there are multiple surfaces from the same FrameSinkId that have temporary references we might not remove one of the temporary references. We track the temporary references in DisplayConfigurator and remove them when a real reference is added. An iterator is incremented twice in some cases and we stop tracking one extra temporary reference we never removed. DisplayCompositor no longer knows about the temporary reference, so it never gets removed. BUG=none Review-Url: https://codereview.chromium.org/2612873003 Cr-Commit-Position: refs/heads/master@{#441761} Committed: https://chromium.googlesource.com/chromium/src/+/eec5f76832b767aea7ef2990cf738df292c0f8fc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -4 lines) Patch
M services/ui/surfaces/display_compositor.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M services/ui/surfaces/display_compositor_unittest.cc View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
kylechar
3 years, 11 months ago (2017-01-05 18:01:41 UTC) #2
Fady Samuel
lgtm
3 years, 11 months ago (2017-01-05 19:46:31 UTC) #3
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/2612873003/1
3 years, 11 months ago (2017-01-05 20:12:43 UTC) #5
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 21:34:22 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/eec5f76832b767aea7ef2990cf73...

Powered by Google App Engine
This is Rietveld 408576698