Index: chrome/browser/themes/theme_service.cc |
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc |
index 11e8f1767a9b9aa2ed06f5019d260690fb9e900e..88081094f2f37c0b7fac1eb1531b892adcdf3132 100644 |
--- a/chrome/browser/themes/theme_service.cc |
+++ b/chrome/browser/themes/theme_service.cc |
@@ -568,7 +568,8 @@ void ThemeService::LoadThemePrefs() { |
? chrome::kThemePackMaterialDesignFilename |
: chrome::kThemePackFilename); |
SwapThemeSupplier(BrowserThemePack::BuildFromDataPack(path, current_id)); |
- loaded_pack = theme_supplier_ != nullptr; |
+ if (theme_supplier_) |
+ loaded_pack = true; |
} |
if (loaded_pack) { |