mac: Toolbar renders incorrectly when downloads bar is open.
The toolbar's superview chromeContentView was incorrectly sized and was too small. This happened because chromeContentView's layout was not being updated in -[BrowserWindowController layoutSubviews]. I updated the unit tests in browser_window_controller_unittest.mm with 2 changes: - All layout checking should use window coordinates, to ensure consistency. - Layout checking should ensure that the frame of each view is within the bounds of the superview. BUG=396740 Review URL: https://codereview.chromium.org/419683008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285796 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment