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

Unified Diff: chrome/browser/ui/webui/chromeos/login/base_webui_handler.cc

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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/chromeos/login/base_webui_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/base_webui_handler.cc b/chrome/browser/ui/webui/chromeos/login/base_webui_handler.cc
index 3bae474ca267dbc62251c524b32294e20a277cd8..d8b87c62e05583048ba2894f5a896f40253e6c3a 100644
--- a/chrome/browser/ui/webui/chromeos/login/base_webui_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/base_webui_handler.cc
@@ -79,7 +79,7 @@ void BaseWebUIHandler::ShowScreenWithData(OobeScreen screen,
base::DictionaryValue screen_params;
screen_params.SetString("id", GetOobeScreenName(screen));
if (data)
- screen_params.SetWithoutPathExpansion("data", data->DeepCopy());
+ screen_params.SetWithoutPathExpansion("data", data->CreateDeepCopy());
web_ui()->CallJavascriptFunctionUnsafe("cr.ui.Oobe.showScreen",
screen_params);
}
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | chrome/browser/ui/webui/chromeos/network_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698