| 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 6061c9cadafea594943b9b1bfe46caa0a5b42b54..f03af0f71585aad75e595616b92e34a6af4cd068 100644
|
| --- a/chrome/browser/ui/webui/theme_source.cc
|
| +++ b/chrome/browser/ui/webui/theme_source.cc
|
| @@ -56,7 +56,7 @@ std::string ThemeSource::GetSource() {
|
|
|
| void ThemeSource::StartDataRequest(
|
| const std::string& path,
|
| - bool is_incognito,
|
| + const content::URLDataSource::ExtraRequestInfo& info,
|
| const content::URLDataSource::GotDataCallback& callback) {
|
| // Default scale factor if not specified.
|
| ui::ScaleFactor scale_factor;
|
| @@ -68,8 +68,8 @@ void ThemeSource::StartDataRequest(
|
| if (uncached_path == kNewTabCSSPath ||
|
| uncached_path == kNewIncognitoTabCSSPath) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| - DCHECK((uncached_path == kNewTabCSSPath && !is_incognito) ||
|
| - (uncached_path == kNewIncognitoTabCSSPath && is_incognito));
|
| + DCHECK((uncached_path == kNewTabCSSPath && !info.is_incognito) ||
|
| + (uncached_path == kNewIncognitoTabCSSPath && info.is_incognito));
|
|
|
| callback.Run(css_bytes_);
|
| return;
|
|
|