| Index: ui/base/theme_provider.h
|
| diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h
|
| index a6a5dd97a82ed4506b2f7e14b18a029e0177703c..1a5c998015dedfd76ba79555abcbd9d334ef2d95 100644
|
| --- a/ui/base/theme_provider.h
|
| +++ b/ui/base/theme_provider.h
|
| @@ -25,7 +25,6 @@ typedef struct _GdkColor GdkColor;
|
| typedef struct _GdkPixbuf GdkPixbuf;
|
| #endif // OS_*
|
|
|
| -class Profile;
|
| class RefCountedMemory;
|
| class SkBitmap;
|
|
|
| @@ -44,10 +43,6 @@ class UI_EXPORT ThemeProvider {
|
| public:
|
| virtual ~ThemeProvider();
|
|
|
| - // TODO(beng): This dependency is horrible!
|
| - // Initialize the provider with the passed in profile.
|
| - virtual void Init(Profile* profile) = 0;
|
| -
|
| // Get the bitmap specified by |id|. An implementation of ThemeProvider should
|
| // have its own source of ids (e.g. an enum, or external resource bundle).
|
| virtual SkBitmap* GetBitmapNamed(int id) const = 0;
|
|
|