diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 18:32:06 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 18:32:06 +0000 |
commit | a5a26fedfc4f2b8e2362eedd7a3fb24ba7b05d23 (patch) | |
tree | 22cf754d44964e23c83a51a01d3a34e549449100 | |
parent | f853eff586455a1738523d3a295672eeeeef182c (diff) | |
download | chromium_src-a5a26fedfc4f2b8e2362eedd7a3fb24ba7b05d23.zip chromium_src-a5a26fedfc4f2b8e2362eedd7a3fb24ba7b05d23.tar.gz chromium_src-a5a26fedfc4f2b8e2362eedd7a3fb24ba7b05d23.tar.bz2 |
Fix clang warning in chromium:72576 again.
Missed the const param part last time.
BUG=chromium:72576
TEST=Build should pass without warning.
Review URL: http://codereview.chromium.org/6499001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74634 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc | 2 | ||||
-rw-r--r-- | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc index d60e669..741eb36 100644 --- a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc +++ b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc @@ -170,7 +170,7 @@ void DraggedTabControllerGtk::MoveContents(TabContents* source, // own window. Should be ignored since we're moving the window... } -bool DraggedTabControllerGtk::IsPopup(TabContents* source) const { +bool DraggedTabControllerGtk::IsPopup(const TabContents* source) const { return false; } diff --git a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h index 35688f6..c1799e0 100644 --- a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h +++ b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h @@ -87,7 +87,7 @@ class DraggedTabControllerGtk : public NotificationObserver, virtual void LoadingStateChanged(TabContents* source); virtual void CloseContents(TabContents* source); virtual void MoveContents(TabContents* source, const gfx::Rect& pos); - virtual bool IsPopup(TabContents* source) const; + virtual bool IsPopup(const TabContents* source) const; virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); virtual void UpdateTargetURL(TabContents* source, const GURL& url); |