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

Unified Diff: chrome/browser/gtk/browser_window_gtk.h

Issue 347006: Remove the non-const browser() getter from BrowserWindowGtk. (Closed)
Patch Set: Created 11 years, 2 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
« 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/gtk/browser_window_gtk.h
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index cbe75634fef52168bb43b237f7b91e998c51db31..05da27a0f13a39a11b5d3e33d413ac93d63ea55b 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -54,8 +54,6 @@ class BrowserWindowGtk : public BrowserWindow,
explicit BrowserWindowGtk(Browser* browser);
virtual ~BrowserWindowGtk();
- Browser* browser() const { return browser_.get(); }
-
// Process a keyboard event which was not handled by webkit.
bool HandleKeyboardEvent(GdkEventKey* event);
@@ -192,9 +190,7 @@ class BrowserWindowGtk : public BrowserWindow,
// ID of the top-level X window of this object.
static GtkWindow* GetBrowserWindowForXID(XID xid);
- Browser* browser() {
- return browser_.get();
- }
+ Browser* browser() const { return browser_.get(); }
GtkWindow* window() const { return window_; }
« 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