DescriptionAvoid using ScreenPositionController in ColoredWindowController's ctor
The current code causes a crash if |parent| belongs to 2nd display. We may want to ensure that |parent| shouldn't have kUsesScreenCoordinatesKey, but this CL rather fixes the caller's code as a quick fix.
BUG=155656
TEST=on goobuntu, run chrome with --aura-host-window-size='800+0-1000x800,800+900-800x600', move a window to 2nd display, click the maximize button, and make sure that the click doesn't cause any crashes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162183
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Messages
Total messages: 9 (0 generated)
|