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

Unified Diff: chrome/browser/download/download_dir_policy_handler.cc

Issue 372103006: Stamp out CreateStringValue in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/download/download_dir_policy_handler.cc
diff --git a/chrome/browser/download/download_dir_policy_handler.cc b/chrome/browser/download/download_dir_policy_handler.cc
index 6083c0eecbb3b47be92ee014f13ac7936289b02f..be9ea9df3efd7d053d5404c7c6113a6ad7cf5e54 100644
--- a/chrome/browser/download/download_dir_policy_handler.cc
+++ b/chrome/browser/download/download_dir_policy_handler.cc
@@ -99,7 +99,7 @@ void DownloadDirPolicyHandler::ApplyPolicySettingsWithParameters(
if (expanded_value.empty())
expanded_value = DownloadPrefs::GetDefaultDownloadDirectory().value();
prefs->SetValue(prefs::kDownloadDefaultDirectory,
- base::Value::CreateStringValue(expanded_value));
+ new base::StringValue(expanded_value));
// If the policy is mandatory, prompt for download should be disabled.
// Otherwise, it would enable a user to bypass the mandatory policy.

Powered by Google App Engine
This is Rietveld 408576698