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

Issue 10836157: Fix DCHECK error when using multi window resizer on the 2nd display that is place on the left side. (Closed)

Created:
8 years, 4 months ago by mazda
Modified:
8 years, 4 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Fix DCHECK error when using multi window resizer on the 2nd display that is place on the left side. The cause of the error was work_area in screen coordinates was passed to CalculateAttachedSizes while bounds is in |window()->parent()|'s coordinates. BUG=139231 TEST=Set the 2nd display on left, open two windows and use multi window resizer on debug build, and check crash does not occur. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150911

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comment #

Total comments: 2

Patch Set 3 : address comment #

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

Messages

Total messages: 11 (0 generated)
mazda
8 years, 4 months ago (2012-08-08 20:59:40 UTC) #1
oshima
Can you fix bug number as well? It looks wrong. http://codereview.chromium.org/10836157/diff/1/ash/wm/workspace/workspace_window_resizer.cc File ash/wm/workspace/workspace_window_resizer.cc (right): http://codereview.chromium.org/10836157/diff/1/ash/wm/workspace/workspace_window_resizer.cc#newcode289 ...
8 years, 4 months ago (2012-08-09 00:59:35 UTC) #2
mazda
Thank you for the review. I fixed the issue number and addressed the comment. Please ...
8 years, 4 months ago (2012-08-09 01:07:19 UTC) #3
oshima
lgtm
8 years, 4 months ago (2012-08-09 01:36:48 UTC) #4
mazda
Scott, could you do an OWNERS review for ash?
8 years, 4 months ago (2012-08-09 01:52:20 UTC) #5
sky
LGTM http://codereview.chromium.org/10836157/diff/4001/ash/wm/workspace/workspace_window_resizer.cc File ash/wm/workspace/workspace_window_resizer.cc (right): http://codereview.chromium.org/10836157/diff/4001/ash/wm/workspace/workspace_window_resizer.cc#newcode286 ash/wm/workspace/workspace_window_resizer.cc:286: // |bounds| and |work_area| are in |window()->parent()|'s coordinates. ...
8 years, 4 months ago (2012-08-09 15:57:33 UTC) #6
mazda
http://codereview.chromium.org/10836157/diff/4001/ash/wm/workspace/workspace_window_resizer.cc File ash/wm/workspace/workspace_window_resizer.cc (right): http://codereview.chromium.org/10836157/diff/4001/ash/wm/workspace/workspace_window_resizer.cc#newcode286 ash/wm/workspace/workspace_window_resizer.cc:286: // |bounds| and |work_area| are in |window()->parent()|'s coordinates. On ...
8 years, 4 months ago (2012-08-09 16:08:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10836157/10001
8 years, 4 months ago (2012-08-09 16:10:43 UTC) #8
commit-bot: I haz the power
Try job failure for 10836157-10001 (retry) on win_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-09 19:00:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10836157/10001
8 years, 4 months ago (2012-08-09 20:55:54 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 22:07:27 UTC) #11
Change committed as 150911

Powered by Google App Engine
This is Rietveld 408576698