Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1440)

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 1869473002: Fixed crash on double profile delete operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: param renaming. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8563731be6060b6ed38accc28901e9a987ebe201..ef6f9e1fe3d03f9a1cec0a121dd14fc58f8a8c49 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1384,7 +1384,9 @@ void BrowserOptionsHandler::DeleteProfile(const base::ListValue* args) {
return;
}
- webui::DeleteProfileAtPath(file_path, web_ui());
+ webui::DeleteProfileAtPath(file_path,
+ web_ui(),
+ ProfileMetrics::DELETE_PROFILE_SETTINGS);
}
void BrowserOptionsHandler::ObserveThemeChanged() {
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/ui/webui/options/create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698