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

Unified Diff: chrome/browser/ui/views/find_bar_host.cc

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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/find_bar_host.cc
diff --git a/chrome/browser/ui/views/find_bar_host.cc b/chrome/browser/ui/views/find_bar_host.cc
index 3b36f9600a52bb7531a7126879e753b831342c89..26bed98891092c22314d7566eaf0eaad4989b088 100644
--- a/chrome/browser/ui/views/find_bar_host.cc
+++ b/chrome/browser/ui/views/find_bar_host.cc
@@ -36,7 +36,8 @@ FindBar* CreateFindBar(BrowserView* browser_view) {
FindBarHost::FindBarHost(BrowserView* browser_view)
: DropdownBarHost(browser_view),
find_bar_controller_(NULL) {
- Init(new FindBarView(this));
+ FindBarView* find_bar_view = new FindBarView(this);
+ Init(find_bar_view, find_bar_view);
}
FindBarHost::~FindBarHost() {

Powered by Google App Engine
This is Rietveld 408576698