| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index a36066baaacef9b4708656324f125dec780982d4..1dd0b88bb856db4973e7b1968b965b7bf9da526e 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -2001,10 +2001,10 @@ void BrowserOptionsHandler::SetupPageZoomSelector() {
|
| base::ListValue* option = new base::ListValue();
|
| double factor = *i;
|
| int percent = static_cast<int>(factor * 100 + 0.5);
|
| - option->Append(new base::StringValue(base::FormatPercent(percent)));
|
| - option->Append(new base::FundamentalValue(factor));
|
| + option->AppendString(base::FormatPercent(percent));
|
| + option->AppendDouble(factor);
|
| bool selected = content::ZoomValuesEqual(factor, default_zoom_factor);
|
| - option->Append(new base::FundamentalValue(selected));
|
| + option->AppendBoolean(selected);
|
| zoom_factors_value.Append(option);
|
| }
|
|
|
|
|