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

Unified Diff: url/gurl.h

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 | « net/quic/quic_stream_sequencer_buffer_test.cc ('k') | url/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/gurl.h
diff --git a/url/gurl.h b/url/gurl.h
index c55959bb4ce46251bf9c37e6ee8df2fb8fce3099..103f1d8519ca1a323b3dd576235bca4490382a4f 100644
--- a/url/gurl.h
+++ b/url/gurl.h
@@ -8,9 +8,9 @@
#include <stddef.h>
#include <iosfwd>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/strings/string_piece.h"
#include "url/third_party/mozilla/url_parse.h"
@@ -437,7 +437,7 @@ class URL_EXPORT GURL {
url::Parsed parsed_;
// Used for nested schemes [currently only filesystem:].
- scoped_ptr<GURL> inner_url_;
+ std::unique_ptr<GURL> inner_url_;
};
// Stream operator so GURL can be used in assertion statements.
« no previous file with comments | « net/quic/quic_stream_sequencer_buffer_test.cc ('k') | url/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698