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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_private.mm

Issue 2502533002: Mac: Always layout the Download Shelf, even if it has zero height. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
index 24c805e30895f6e93d0633a6edceabd291757e79..1c369551277f618a6a8d599b818c6f4fc19c75fa 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -917,8 +917,7 @@ willPositionSheet:(NSWindow*)sheet
[infoBarContainerController_
setInfobarArrowX:[self locationBarBridge]->GetPageInfoBubblePoint().x];
- if (!NSIsEmptyRect(output.downloadShelfFrame))
- [[downloadShelfController_ view] setFrame:output.downloadShelfFrame];
+ [[downloadShelfController_ view] setFrame:output.downloadShelfFrame];
[self layoutTabContentArea:output.contentAreaFrame];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698