| Index: chrome/browser/themes/browser_theme_pack.cc
|
| diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc
|
| index 5c97d10d3cabf10a06fa6ec65abb14d24e5bd21d..df02e24944f5b06343f7356a92cee02571185e88 100644
|
| --- a/chrome/browser/themes/browser_theme_pack.cc
|
| +++ b/chrome/browser/themes/browser_theme_pack.cc
|
| @@ -623,9 +623,9 @@ void BrowserThemePack::BuildTintsFromJSON(DictionaryValue* tints_value) {
|
| (tint_list->GetSize() == 3)) {
|
| color_utils::HSL hsl = { -1, -1, -1 };
|
|
|
| - if (ValidDoubleValue(tint_list, 0, &hsl.h) &&
|
| - ValidDoubleValue(tint_list, 1, &hsl.s) &&
|
| - ValidDoubleValue(tint_list, 2, &hsl.l)) {
|
| + if (tint_list->GetDouble(0, &hsl.h) &&
|
| + tint_list->GetDouble(1, &hsl.s) &&
|
| + tint_list->GetDouble(2, &hsl.l)) {
|
| int id = GetIntForString(*iter, kTintTable);
|
| if (id != -1) {
|
| temp_tints[id] = hsl;
|
|
|