| Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| index ae162b625f074fa71f7a6b860f21e89decdfb9b9..9ba293d3cb3372f08e31216e3fa543fd6b6e262b 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| @@ -187,7 +187,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(
|
| std::map<std::string, std::pair<std::string, int> >::iterator it =
|
| resource_map_.find(path);
|
| if (it != resource_map_.end()) {
|
| - scoped_refptr<base::RefCountedStaticMemory> resource_bytes(
|
| + scoped_refptr<base::RefCountedMemory> resource_bytes(
|
| it->second.second ?
|
| ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
|
| it->second.second) :
|
|
|