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

Issue 423503002: Make ScopedWindowTargeter add itself as a WindowObserver for real (Closed)

Created:
6 years, 5 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
Jun Mukai, sadrul
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, kalyank, Jun Mukai
Project:
chromium
Visibility:
Public.

Description

Make ScopedWindowTargeter add itself as a WindowObserver for real BUG=None TEST=WindowTargeterTest.ScopedWindowTargeterWindowDestroyed Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285776

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M ui/aura/scoped_window_targeter.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M ui/aura/window_targeter_unittest.cc View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pkotwicz
Sadrul, PTAL I came across this while investigating why tests crashed if the test ended ...
6 years, 5 months ago (2014-07-25 14:31:22 UTC) #1
Jun Mukai
https://codereview.chromium.org/423503002/diff/20001/ui/aura/scoped_window_targeter.cc File ui/aura/scoped_window_targeter.cc (right): https://codereview.chromium.org/423503002/diff/20001/ui/aura/scoped_window_targeter.cc#newcode28 ui/aura/scoped_window_targeter.cc:28: window_->RemoveObserver(this); aura::Window destructor removes the observer right before OnWindowDestroyed.
6 years, 5 months ago (2014-07-25 20:24:00 UTC) #2
pkotwicz
https://codereview.chromium.org/423503002/diff/20001/ui/aura/scoped_window_targeter.cc File ui/aura/scoped_window_targeter.cc (right): https://codereview.chromium.org/423503002/diff/20001/ui/aura/scoped_window_targeter.cc#newcode28 ui/aura/scoped_window_targeter.cc:28: window_->RemoveObserver(this); You're right. Thanks for letting me know!
6 years, 5 months ago (2014-07-25 20:31:21 UTC) #3
sadrul
Thanks! LGTM
6 years, 5 months ago (2014-07-25 20:37:49 UTC) #4
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-25 20:44:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/423503002/40001
6 years, 5 months ago (2014-07-25 20:46:28 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-26 00:13:54 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-26 18:32:54 UTC) #8
Message was sent while issue was closed.
Change committed as 285776

Powered by Google App Engine
This is Rietveld 408576698