Index: chrome/browser/ui/cocoa/browser_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm |
index 5f0a158e0a8e55db4e42b29bb8cebb72fa6014f0..201c28a2efce3f1ee2d64c4082e0fb652f3660f1 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm |
@@ -1556,7 +1556,7 @@ using web_modal::WebContentsModalDialogManager; |
if (!downloadShelfController_.get()) { |
downloadShelfController_.reset([[DownloadShelfController alloc] |
initWithBrowser:browser_.get() resizeDelegate:self]); |
- [[[self window] contentView] addSubview:[downloadShelfController_ view]]; |
+ [self.chromeContentView addSubview:[downloadShelfController_ view]]; |
} |
return downloadShelfController_; |
} |