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

Unified Diff: content/renderer/manifest/manifest_parser_unittest.cc

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 9 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
« no previous file with comments | « content/renderer/manifest/manifest_parser.cc ('k') | content/renderer/p2p/port_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_parser_unittest.cc
diff --git a/content/renderer/manifest/manifest_parser_unittest.cc b/content/renderer/manifest/manifest_parser_unittest.cc
index cc5d1feaa2848361d9cb8a2bc048d0e67ac44624..9a8569d14b243805339a68291c412ee07f76546b 100644
--- a/content/renderer/manifest/manifest_parser_unittest.cc
+++ b/content/renderer/manifest/manifest_parser_unittest.cc
@@ -6,6 +6,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/strings/string_util.h"
#include "content/public/common/manifest.h"
@@ -32,7 +34,7 @@ class ManifestParserTest : public testing::Test {
ManifestParser parser(data, document_url, manifest_url);
parser.Parse();
errors_.clear();
- for (const scoped_ptr<ManifestParser::ErrorInfo>& error_info :
+ for (const std::unique_ptr<ManifestParser::ErrorInfo>& error_info :
parser.errors()) {
errors_.push_back(error_info->error_msg);
}
« no previous file with comments | « content/renderer/manifest/manifest_parser.cc ('k') | content/renderer/p2p/port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698