diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 20:00:09 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 20:00:09 +0000 |
commit | b5d079536bcbf33c657fd96079bb7b2bd9644c0e (patch) | |
tree | b9f4a20f69bbd3252464cf96e13b21d3d5b5ca09 /chrome/browser/browser_theme_provider_gtk.cc | |
parent | 89beb4c0dc72aeb590a8944bf2f24b95b9c90425 (diff) | |
download | chromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.zip chromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.tar.gz chromium_src-b5d079536bcbf33c657fd96079bb7b2bd9644c0e.tar.bz2 |
Make the ThemeProvider methods const.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/266037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider_gtk.cc')
-rw-r--r-- | chrome/browser/browser_theme_provider_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_theme_provider_gtk.cc b/chrome/browser/browser_theme_provider_gtk.cc index 46b6ae9..3269c15 100644 --- a/chrome/browser/browser_theme_provider_gtk.cc +++ b/chrome/browser/browser_theme_provider_gtk.cc @@ -9,15 +9,15 @@ #include "base/logging.h" #include "third_party/skia/include/core/SkBitmap.h" -GdkPixbuf* BrowserThemeProvider::GetPixbufNamed(int id) { +GdkPixbuf* BrowserThemeProvider::GetPixbufNamed(int id) const { return GetPixbufImpl(id, false); } -GdkPixbuf* BrowserThemeProvider::GetRTLEnabledPixbufNamed(int id) { +GdkPixbuf* BrowserThemeProvider::GetRTLEnabledPixbufNamed(int id) const { return GetPixbufImpl(id, true); } -GdkPixbuf* BrowserThemeProvider::GetPixbufImpl(int id, bool rtl_enabled) { +GdkPixbuf* BrowserThemeProvider::GetPixbufImpl(int id, bool rtl_enabled) const { DCHECK(CalledOnValidThread()); // Use the negative |resource_id| for the key for BIDI-aware images. int key = rtl_enabled ? -id : id; |