| Index: chrome/browser/search/local_ntp_source.cc
|
| diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
|
| index 01c621ef5863166351fa90acdb7583c79753e5e8..ce4f189308c730eda01efa44005809a16a162836 100644
|
| --- a/chrome/browser/search/local_ntp_source.cc
|
| +++ b/chrome/browser/search/local_ntp_source.cc
|
| @@ -165,9 +165,9 @@ std::string GetConfigData(Profile* profile) {
|
| }
|
|
|
| std::string GetThemeCSS(Profile* profile) {
|
| - ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile);
|
| SkColor background_color =
|
| - theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
|
| + ThemeService::GetThemeProviderForProfile(profile)
|
| + .GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
|
|
|
| return base::StringPrintf("body { background-color: #%02X%02X%02X; }",
|
| SkColorGetR(background_color),
|
|
|