| Index: chrome/browser/ui/webui/options2/core_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/core_options_handler2.cc b/chrome/browser/ui/webui/options2/core_options_handler2.cc
|
| index 6158ebb2a964de8df476958e84a1894f750519e6..9e0fc25627eb1fe5361791e49b6973d1f1673ff7 100644
|
| --- a/chrome/browser/ui/webui/options2/core_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/core_options_handler2.cc
|
| @@ -210,8 +210,6 @@ void CoreOptionsHandler::SetPref(const std::string& pref_name,
|
| return;
|
| }
|
|
|
| - pref_service->ScheduleSavePersistentPrefs();
|
| -
|
| ProcessUserMetric(value, metric);
|
| }
|
|
|
| @@ -219,7 +217,6 @@ void CoreOptionsHandler::ClearPref(const std::string& pref_name,
|
| const std::string& metric) {
|
| PrefService* pref_service = Profile::FromWebUI(web_ui_)->GetPrefs();
|
| pref_service->ClearPref(pref_name.c_str());
|
| - pref_service->ScheduleSavePersistentPrefs();
|
|
|
| if (!metric.empty())
|
| content::RecordComputedAction(metric);
|
|
|