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

Issue 2254603002: Temporary fix to return only the active displays. (Closed)

Created:
4 years, 4 months ago by malaykeshav
Modified:
4 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Temporary fix to return only the active displays. During the execution of |UpdateDisplaysWith|, |active_display_list| is being modified and temporarily contains displays that have been removed.This causes a crash during SetBound operations for some display change observers that use the removed displays as an active display. - Adds unit tests that fails without the fix in this patchset. COMPONENT=Ash, Display Manager, Panel Layout Manager, Ash unit test BUG=632755 Committed: https://crrev.com/b60f74c0911b362cde913a0bc99cccbaa6d9a9d7 Cr-Commit-Position: refs/heads/master@{#412733}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adds Unit tests #

Total comments: 1

Patch Set 3 : Temporary fix to return only the active displays. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -2 lines) Patch
M ash/display/display_manager.h View 2 chunks +18 lines, -0 lines 0 comments Download
M ash/display/display_manager.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/display/screen_ash.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 6 chunks +92 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
malaykeshav
4 years, 4 months ago (2016-08-16 22:51:22 UTC) #4
malaykeshav
PTAL
4 years, 4 months ago (2016-08-16 22:51:32 UTC) #5
oshima
lg as a short term solution for m53. please add test. It should work even ...
4 years, 4 months ago (2016-08-17 01:21:08 UTC) #8
malaykeshav
PTAL. Added unit tests
4 years, 4 months ago (2016-08-17 22:55:14 UTC) #11
oshima
then lgtm https://codereview.chromium.org/2254603002/diff/20001/ash/wm/panels/panel_layout_manager_unittest.cc File ash/wm/panels/panel_layout_manager_unittest.cc (right): https://codereview.chromium.org/2254603002/diff/20001/ash/wm/panels/panel_layout_manager_unittest.cc#newcode343 ash/wm/panels/panel_layout_manager_unittest.cc:343: CreateDisplayInfo(1, gfx::Rect(0, 0, 1280, 720)); can you ...
4 years, 4 months ago (2016-08-17 23:24:42 UTC) #12
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/2254603002/40001
4 years, 4 months ago (2016-08-18 02:32:10 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-18 04:00:18 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 04:03:46 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b60f74c0911b362cde913a0bc99cccbaa6d9a9d7
Cr-Commit-Position: refs/heads/master@{#412733}

Powered by Google App Engine
This is Rietveld 408576698