Index: chrome/browser/dom_ui/dom_ui_theme_source.cc |
=================================================================== |
--- chrome/browser/dom_ui/dom_ui_theme_source.cc (revision 71854) |
+++ chrome/browser/dom_ui/dom_ui_theme_source.cc (working copy) |
@@ -5,7 +5,6 @@ |
#include "chrome/browser/dom_ui/dom_ui_theme_source.h" |
#include "app/resource_bundle.h" |
-#include "app/theme_provider.h" |
#include "base/message_loop.h" |
#include "base/ref_counted_memory.h" |
#include "chrome/browser/browser_thread.h" |
@@ -15,6 +14,7 @@ |
#include "chrome/browser/themes/browser_theme_provider.h" |
#include "chrome/common/url_constants.h" |
#include "googleurl/src/gurl.h" |
+#include "ui/base/theme_provider.h" |
// use a resource map rather than hard-coded strings. |
static const char* kNewTabCSSPath = "css/newtab.css"; |
@@ -100,7 +100,7 @@ |
void DOMUIThemeSource::SendThemeBitmap(int request_id, int resource_id) { |
if (BrowserThemeProvider::IsThemeableImage(resource_id)) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- ThemeProvider* tp = profile_->GetThemeProvider(); |
+ ui::ThemeProvider* tp = profile_->GetThemeProvider(); |
DCHECK(tp); |
scoped_refptr<RefCountedMemory> image_data(tp->GetRawData(resource_id)); |