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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc

Issue 2806283002: Revert of Stop passing raw pointers to base::Value API in c/b/chromeos and c/b/extensions (Closed)
Patch Set: 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/chromeos/file_system_provider/provided_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
index 8dc71f1e9a124666fed26ad9d4419ea5928a256a..3724b0137558f239a3e5b73c07ed9e208f3613ad 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
@@ -83,10 +83,9 @@
if (reply_result_ == base::File::FILE_OK) {
base::ListValue value_as_list;
- value_as_list.Set(0, base::MakeUnique<base::Value>(kFileSystemId));
- value_as_list.Set(1, base::MakeUnique<base::Value>(request_id));
- value_as_list.Set(2,
- base::MakeUnique<base::Value>(0) /* execution_time */);
+ value_as_list.Set(0, new base::Value(kFileSystemId));
+ value_as_list.Set(1, new base::Value(request_id));
+ value_as_list.Set(2, new base::Value(0) /* execution_time */);
using extensions::api::file_system_provider_internal::
OperationRequestedSuccess::Params;

Powered by Google App Engine
This is Rietveld 408576698