Index: components/ntp_snippets/ntp_snippet.cc |
diff --git a/components/ntp_snippets/ntp_snippet.cc b/components/ntp_snippets/ntp_snippet.cc |
index ef59e1b1d2110526446b86b2739a797147b0e982..9ee20290202e6860c937be106936e82da7cd81ea 100644 |
--- a/components/ntp_snippets/ntp_snippet.cc |
+++ b/components/ntp_snippets/ntp_snippet.cc |
@@ -14,14 +14,14 @@ NTPSnippet::NTPSnippet(const GURL& url) : url_(url) { |
NTPSnippet::~NTPSnippet() {} |
// static |
-std::unique_ptr<NTPSnippet> NTPSnippet::NTPSnippetFromDictionary( |
+scoped_ptr<NTPSnippet> NTPSnippet::NTPSnippetFromDictionary( |
const base::DictionaryValue& dict) { |
// Need at least the url. |
std::string url; |
if (!dict.GetString("url", &url)) |
return nullptr; |
- std::unique_ptr<NTPSnippet> snippet(new NTPSnippet(GURL(url))); |
+ scoped_ptr<NTPSnippet> snippet(new NTPSnippet(GURL(url))); |
std::string site_title; |
if (dict.GetString("site_title", &site_title)) |