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

Unified Diff: sync/js/js_event_details_unittest.cc

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: sync/js/js_event_details_unittest.cc
diff --git a/sync/js/js_event_details_unittest.cc b/sync/js/js_event_details_unittest.cc
index d93d5219a19dfdfdec2f8fca63ff5cd69c15c5fb..7403d36d5d24b6aabda48c2f73d3c26a5dba07cc 100644
--- a/sync/js/js_event_details_unittest.cc
+++ b/sync/js/js_event_details_unittest.cc
@@ -4,7 +4,8 @@
#include "sync/js/js_event_details.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -23,7 +24,7 @@ TEST_F(JsEventDetailsTest, FromDictionary) {
dict.SetString("foo", "bar");
dict.Set("baz", new base::ListValue());
- scoped_ptr<base::DictionaryValue> dict_copy(dict.DeepCopy());
+ std::unique_ptr<base::DictionaryValue> dict_copy(dict.DeepCopy());
JsEventDetails details(&dict);

Powered by Google App Engine
This is Rietveld 408576698