| 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 68b8e62ca6576b8e9f7e7b033948503f9945b821..39c56f19af7fa52f59b58749003dafcbdb306e3d 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| @@ -332,7 +332,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(
|
| ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
|
| it->second.second) :
|
| new base::RefCountedStaticMemory);
|
| - callback.Run(resource_bytes);
|
| + callback.Run(resource_bytes.get());
|
| return;
|
| }
|
|
|
| @@ -358,7 +358,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(
|
| NTPResourceCacheFactory::GetForProfile(profile_)->
|
| GetNewTabHTML(is_incognito));
|
|
|
| - callback.Run(html_bytes);
|
| + callback.Run(html_bytes.get());
|
| }
|
|
|
| std::string NewTabUI::NewTabHTMLSource::GetMimeType(const std::string& resource)
|
|
|