Index: components/ntp_snippets/ntp_snippet.h |
diff --git a/components/ntp_snippets/ntp_snippet.h b/components/ntp_snippets/ntp_snippet.h |
index 6ea126abd1f9f8ecf31291d8511fed88a0404c42..6dd2ad045bc64ab617cf2b893284aed0cd6ce09f 100644 |
--- a/components/ntp_snippets/ntp_snippet.h |
+++ b/components/ntp_snippets/ntp_snippet.h |
@@ -4,7 +4,6 @@ |
#ifndef COMPONENTS_NTP_SNIPPETS_NTP_SNIPPET_H_ |
#define COMPONENTS_NTP_SNIPPETS_NTP_SNIPPET_H_ |
-#include <memory> |
#include <string> |
#include "base/macros.h" |
@@ -30,7 +29,7 @@ class NTPSnippet { |
// dictionary doesn't contain at least a url. The keys in the dictionary are |
// expected to be the same as the property name, with exceptions documented in |
// the property comment. |
- static std::unique_ptr<NTPSnippet> NTPSnippetFromDictionary( |
+ static scoped_ptr<NTPSnippet> NTPSnippetFromDictionary( |
const base::DictionaryValue& dict); |
// URL of the page described by this snippet. |