Chromium Code Reviews| Index: chrome/browser/themes/theme_service.cc |
| diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc |
| index 77549f419546b8feaac74f794bdafe4105f94d06..63735ff8e8aba56d216c787dad797f8ed7465ef9 100644 |
| --- a/chrome/browser/themes/theme_service.cc |
| +++ b/chrome/browser/themes/theme_service.cc |
| @@ -744,11 +744,6 @@ int ThemeService::GetDisplayProperty(int id) const { |
| base::RefCountedMemory* ThemeService::GetRawData( |
| int id, |
| ui::ScaleFactor scale_factor) const { |
| - // Check to see whether we should substitute some images. |
| - int ntp_alternate = GetDisplayProperty(ThemeProperties::NTP_LOGO_ALTERNATE); |
| - if (id == IDR_PRODUCT_LOGO && ntp_alternate != 0) |
|
Evan Stade
2017/03/08 17:56:30
are you sure this code is dead? It seems to be hit
Mathieu
2017/03/08 18:20:22
I am certain. I instrumented the codepaths in this
|
| - id = IDR_PRODUCT_LOGO_WHITE; |
| - |
| base::RefCountedMemory* data = nullptr; |
| if (theme_supplier_) |
| data = theme_supplier_->GetRawData(id, scale_factor); |