summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 18:32:06 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 18:32:06 +0000
commita5a26fedfc4f2b8e2362eedd7a3fb24ba7b05d23 (patch)
tree22cf754d44964e23c83a51a01d3a34e549449100
parentf853eff586455a1738523d3a295672eeeeef182c (diff)
downloadchromium_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.cc2
-rw-r--r--chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h2
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);