diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 02:41:33 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 02:41:33 +0000 |
commit | b8784db08ce4faf2f5eff5a9168bb115345e04e0 (patch) | |
tree | 2827dfe715eb29d3cc2ab10226f1f34228dc2b4c /chrome/browser/sidebar | |
parent | 5baaaee351aefbdeaf511a38d8f8a290f4c1c060 (diff) | |
download | chromium_src-b8784db08ce4faf2f5eff5a9168bb115345e04e0.zip chromium_src-b8784db08ce4faf2f5eff5a9168bb115345e04e0.tar.gz chromium_src-b8784db08ce4faf2f5eff5a9168bb115345e04e0.tar.bz2 |
Coverity: Fix a bad override.
I tried to fix this before, but accidentally left off the const pointer
parameter.
CID=13619
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5129003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sidebar')
-rw-r--r-- | chrome/browser/sidebar/sidebar_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sidebar/sidebar_container.h b/chrome/browser/sidebar/sidebar_container.h index 0f78988..0572f43 100644 --- a/chrome/browser/sidebar/sidebar_container.h +++ b/chrome/browser/sidebar/sidebar_container.h @@ -105,7 +105,7 @@ class SidebarContainer 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 { return false; } + virtual bool IsPopup(const TabContents* source) const { return false; } virtual void URLStarredChanged(TabContents* source, bool starred) {} virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} |