summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 23:13:02 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 23:13:02 +0000
commitf88f164cd5cbf64075fbfa5d95b0178c2fbb7f4c (patch)
tree4961956b1c984715ae1ef01673ce1bb674b6b400 /chrome/browser/tab_contents
parent47f6cf0315a1dc5fe40ed678c526b692658a7208 (diff)
downloadchromium_src-f88f164cd5cbf64075fbfa5d95b0178c2fbb7f4c.zip
chromium_src-f88f164cd5cbf64075fbfa5d95b0178c2fbb7f4c.tar.gz
chromium_src-f88f164cd5cbf64075fbfa5d95b0178c2fbb7f4c.tar.bz2
Fix Browser::IsApplication so it conforms to the TabContentsDelegate interface.
This was showing up as a BAD_OVERRIDE in Coverity. http://crbug.com/18296 Review URL: http://codereview.chromium.org/155810 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index 6db5e4a..f24551d 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -105,7 +105,7 @@ class TabContentsDelegate {
// Check whether this contents is inside a window dedicated to running a web
// application.
- virtual bool IsApplication() { return false; }
+ virtual bool IsApplication() const { return false; }
// Detach the given tab and convert it to a "webapp" view. The tab must be
// a TabContents with a valid WebApp set.