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

Unified Diff: components/bookmarks/browser/bookmark_utils.h

Issue 1906973002: Convert //components/bookmarks 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: components/bookmarks/browser/bookmark_utils.h
diff --git a/components/bookmarks/browser/bookmark_utils.h b/components/bookmarks/browser/bookmark_utils.h
index 0a3a3730f9d6e9be43b898a4a6281e34e97f327d..0384cfc11ff89bbcdd3e89f65dcc75297e845eb7 100644
--- a/components/bookmarks/browser/bookmark_utils.h
+++ b/components/bookmarks/browser/bookmark_utils.h
@@ -36,9 +36,9 @@ struct QueryFields {
QueryFields();
~QueryFields();
- scoped_ptr<base::string16> word_phrase_query;
- scoped_ptr<base::string16> url;
- scoped_ptr<base::string16> title;
+ std::unique_ptr<base::string16> word_phrase_query;
+ std::unique_ptr<base::string16> url;
+ std::unique_ptr<base::string16> title;
};
// Clones bookmark node, adding newly created nodes to |parent| starting at
« no previous file with comments | « components/bookmarks/browser/bookmark_undo_provider.h ('k') | components/bookmarks/browser/bookmark_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698