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

Unified Diff: components/autofill/core/browser/legal_message_line_unittest.cc

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/core/browser/legal_message_line_unittest.cc
diff --git a/components/autofill/core/browser/legal_message_line_unittest.cc b/components/autofill/core/browser/legal_message_line_unittest.cc
index 313acd3778bf2dacb13d0bdca4876b8efb838a75..a65bc3dced826b2b5bc42d3d7c33c046819fc82e 100644
--- a/components/autofill/core/browser/legal_message_line_unittest.cc
+++ b/components/autofill/core/browser/legal_message_line_unittest.cc
@@ -4,11 +4,11 @@
#include "components/autofill/core/browser/legal_message_line.h"
+#include <memory>
#include <string>
#include <utility>
#include "base/json/json_reader.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -102,7 +102,7 @@ class LegalMessageLineTest : public ::testing::TestWithParam<TestCase> {
// Verifies that legal message parsing is correct.
TEST_P(LegalMessageLineTest, Parsing) {
- scoped_ptr<base::Value> value(
+ std::unique_ptr<base::Value> value(
base::JSONReader::Read(GetParam().message_json));
ASSERT_TRUE(value);
base::DictionaryValue* dictionary = nullptr;
« no previous file with comments | « components/autofill/core/browser/legal_message_line.h ('k') | components/autofill/core/browser/name_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698