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

Issue 2627713004: exo: Make sure vsync observer is removed when Surface is destroyed. (Closed)

Created:
3 years, 11 months ago by reveman
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Alex Z.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Make sure vsync observer is removed when Surface is destroyed. If the window is still in the tree when Surface is destroyed then we need to remove the vsync observer in the dtor. BUG=679787 Review-Url: https://codereview.chromium.org/2627713004 Cr-Commit-Position: refs/heads/master@{#442996} Committed: https://chromium.googlesource.com/chromium/src/+/b622b0bbb1c98da5d7ce4b9e7749698959b93fa1

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M components/exo/surface.cc View 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 15 (9 generated)
reveman
3 years, 11 months ago (2017-01-11 19:33:46 UTC) #2
Daniele Castagna
lgtm
3 years, 11 months ago (2017-01-11 20:30:41 UTC) #7
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/2627713004/1
3 years, 11 months ago (2017-01-11 20:32:11 UTC) #9
Fady Samuel
https://codereview.chromium.org/2627713004/diff/1/components/exo/surface.cc File components/exo/surface.cc (right): https://codereview.chromium.org/2627713004/diff/1/components/exo/surface.cc#newcode209 components/exo/surface.cc:209: window_->layer()->GetCompositor()->vsync_manager()->RemoveObserver(this); drive-by question: What does exo use the vsync ...
3 years, 11 months ago (2017-01-11 20:33:04 UTC) #11
reveman
https://codereview.chromium.org/2627713004/diff/1/components/exo/surface.cc File components/exo/surface.cc (right): https://codereview.chromium.org/2627713004/diff/1/components/exo/surface.cc#newcode209 components/exo/surface.cc:209: window_->layer()->GetCompositor()->vsync_manager()->RemoveObserver(this); On 2017/01/11 at 20:33:04, Fady Samuel wrote: > ...
3 years, 11 months ago (2017-01-11 21:52:08 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 21:53:24 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b622b0bbb1c98da5d7ce4b9e7749...

Powered by Google App Engine
This is Rietveld 408576698