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

Unified Diff: chrome/browser/ui/gtk/find_bar_gtk.cc

Issue 7538010: Make BrowserWindow::CreateFindBar non-static so that it can be overridden by Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove underscore. Created 9 years, 4 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/gtk/find_bar_gtk.cc
diff --git a/chrome/browser/ui/gtk/find_bar_gtk.cc b/chrome/browser/ui/gtk/find_bar_gtk.cc
index d4cd60954e3d506f9b0d7e461f2ff3f48250cb60..b36968118f0ab224701a40cd9dd222d5e64ac961 100644
--- a/chrome/browser/ui/gtk/find_bar_gtk.cc
+++ b/chrome/browser/ui/gtk/find_bar_gtk.cc
@@ -173,10 +173,10 @@ void BuildBorder(GtkWidget* child,
} // namespace
-FindBarGtk::FindBarGtk(Browser* browser)
- : browser_(browser),
- window_(static_cast<BrowserWindowGtk*>(browser->window())),
- theme_service_(GtkThemeService::GetFrom(browser->profile())),
+FindBarGtk::FindBarGtk(BrowserWindowGtk* window)
+ : browser_(window->browser()),
+ window_(window),
+ theme_service_(GtkThemeService::GetFrom(browser_->profile())),
container_width_(-1),
container_height_(-1),
match_label_failure_(false),

Powered by Google App Engine
This is Rietveld 408576698