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

Issue 2784603002: Makes ScreenPinningController clear map after removing observers (Closed)

Created:
3 years, 8 months ago by sky
Modified:
3 years, 8 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes ScreenPinningController clear map after removing observers And makes WindowUserData erase from map before destroying data. The former was how the code worked before I refactored it (see https://codereview.chromium.org/2320273002/diff/160001/ash/wm/screen_pinning_controller.cc?context=&column_width=80&tab_spaces=8 ). This moves the clear back to where it originally was. The change to WindowUserData is done so that if ~UserData calls back to WindowUserData during destruction the map isn't in a weird state. BUG=705727 TEST=covered by tests. R=msw@chromium.org Review-Url: https://codereview.chromium.org/2784603002 Cr-Commit-Position: refs/heads/master@{#460206} Committed: https://chromium.googlesource.com/chromium/src/+/3a4ea7d396507cf516f8afb899aff72775f5d0d9

Patch Set 1 #

Patch Set 2 : feedback and merge #

Patch Set 3 : feedback and merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M ash/common/wm/workspace/workspace_layout_manager.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
sky
3 years, 8 months ago (2017-03-28 19:31:39 UTC) #1
msw
lgtm
3 years, 8 months ago (2017-03-28 19:44:33 UTC) #4
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/2784603002/1
3 years, 8 months ago (2017-03-28 19:48:10 UTC) #7
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 20:39:55 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/3a4ea7d396507cf516f8afb899af...

Powered by Google App Engine
This is Rietveld 408576698