diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-19 20:03:34 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-19 20:03:34 +0000 |
commit | 424525b6f6e505ef34be14b9400dfd424997b93e (patch) | |
tree | 8794e51584e3ac10a263f7ec9bf4a54ab5a70e36 /chrome/browser/browser_theme_provider.h | |
parent | 4d67720512d8cf6b92d350a86f3fbacff45b4c75 (diff) | |
download | chromium_src-424525b6f6e505ef34be14b9400dfd424997b93e.zip chromium_src-424525b6f6e505ef34be14b9400dfd424997b93e.tar.gz chromium_src-424525b6f6e505ef34be14b9400dfd424997b93e.tar.bz2 |
Fix native GTK interface.
In r21039, BrowserThemeProvider::Init was made non-virtual, which meant
that GtkBrowserThemeProvider::Init was never being called. Make it virtual
again (so the linux UI renders properly), and explicitly add Init() to the
ThemeProvider interface so this doesn't happen again.
Review URL: http://codereview.chromium.org/155754
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r-- | chrome/browser/browser_theme_provider.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h index 4787c000..3e42036 100644 --- a/chrome/browser/browser_theme_provider.h +++ b/chrome/browser/browser_theme_provider.h @@ -143,9 +143,8 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>, REPEAT = 3 } Tiling; - void Init(Profile* profile); - // ThemeProvider implementation. + virtual void Init(Profile* profile); virtual SkBitmap* GetBitmapNamed(int id); virtual SkColor GetColor(int id); virtual bool GetDisplayProperty(int id, int* result); |