Index: chrome/browser/ui/webui/ntp/thumbnail_source.cc |
=================================================================== |
--- chrome/browser/ui/webui/ntp/thumbnail_source.cc (revision 134496) |
+++ chrome/browser/ui/webui/ntp/thumbnail_source.cc (working copy) |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/webui/ntp/thumbnail_source.h" |
#include "base/callback.h" |
+#include "base/memory/ref_counted_memory.h" |
#include "chrome/browser/history/top_sites.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/url_constants.h" |
@@ -24,7 +25,7 @@ |
void ThumbnailSource::StartDataRequest(const std::string& path, |
bool is_incognito, |
int request_id) { |
- scoped_refptr<RefCountedMemory> data; |
+ scoped_refptr<base::RefCountedMemory> data; |
if (top_sites_->GetPageThumbnail(GURL(path), &data)) { |
// We have the thumbnail. |
SendResponse(request_id, data.get()); |