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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 13974003: alternate ntp: fix content origin when overlay shrinks to shorter than top bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 1ad367d85043aa4f499ab4979925be8f57e149c4..121d45753dade03894a99e52c1820b1b76d6b137 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2036,7 +2036,7 @@ void BrowserView::Init() {
contents_container_ = new views::WebView(browser_->profile());
contents_container_->set_id(VIEW_ID_TAB_CONTAINER);
- contents_ = new ContentsContainer(contents_container_);
+ contents_ = new ContentsContainer(contents_container_, this);
overlay_controller_.reset(
new InstantOverlayControllerViews(browser(), contents_));
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/contents_container.h » ('j') | chrome/browser/ui/views/frame/contents_container.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698