| Index: chrome/browser/ui/webui/theme_source.cc
|
| diff --git a/chrome/browser/ui/webui/theme_source.cc b/chrome/browser/ui/webui/theme_source.cc
|
| index a1efb62425cde2f72c44fc9e4ebb42614bc10600..6ea356924d9b275eccf7be1839e58fde8e21cb61 100644
|
| --- a/chrome/browser/ui/webui/theme_source.cc
|
| +++ b/chrome/browser/ui/webui/theme_source.cc
|
| @@ -68,8 +68,9 @@ void ProcessResourceOnUIThread(int resource_id,
|
|
|
| ThemeSource::ThemeSource(Profile* profile)
|
| : profile_(profile->GetOriginalProfile()) {
|
| + // NB: it's important that this is |profile| and not |profile_|.
|
| NTPResourceCache::WindowType win_type = NTPResourceCache::GetWindowType(
|
| - profile_, NULL);
|
| + profile, NULL);
|
| css_bytes_ =
|
| NTPResourceCacheFactory::GetForProfile(profile)->GetNewTabCSS(win_type);
|
| }
|
|
|