summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 00:49:03 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 00:49:03 +0000
commit4324f4c16325d62ff799d4a90f3437ed6e9ea48b (patch)
tree38d38c5c12c762de60476eff338792c9edcb5430 /views/widget
parent9d0fdfca1cee6043db158979423c59a49aee06fd (diff)
downloadchromium_src-4324f4c16325d62ff799d4a90f3437ed6e9ea48b.zip
chromium_src-4324f4c16325d62ff799d4a90f3437ed6e9ea48b.tar.gz
chromium_src-4324f4c16325d62ff799d4a90f3437ed6e9ea48b.tar.bz2
Fix a BAD_OVERRIDE defect reported by Coverity. Change the
prototype of the GetDefaultThemeProvider method in the base class to match the prototypes of the GetDefaultThemeProvider methods in the subclasses BrowserFrameWin and BrowserFrameGtk. R=glen BUG=17104 TEST=none Review URL: http://codereview.chromium.org/159479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index f3a8613..f9e961d 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -138,7 +138,7 @@ class Widget {
// Gets the default theme provider; this is necessary for when a widget has
// no profile (and ThemeProvider) associated with it. The default theme
// provider provides a default set of bitmaps that such widgets can use.
- virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; }
+ virtual ThemeProvider* GetDefaultThemeProvider() const { return NULL; }
// Returns the FocusManager for this widget.
// Note that all widgets in a widget hierarchy share the same focus manager.