| Index: chrome/browser/ui/webui/fileicon_source.cc
|
| diff --git a/chrome/browser/ui/webui/fileicon_source.cc b/chrome/browser/ui/webui/fileicon_source.cc
|
| index 59df5c1d2130164af7955625a5aa4134235371e5..f06ba8c48ea4e46889c687fb71087a369602c730 100644
|
| --- a/chrome/browser/ui/webui/fileicon_source.cc
|
| +++ b/chrome/browser/ui/webui/fileicon_source.cc
|
| @@ -114,7 +114,7 @@ void FileIconSource::FetchFileIcon(
|
| icon->ToImageSkia()->GetRepresentation(scale_factor).sk_bitmap(),
|
| false, &icon_data->data());
|
|
|
| - callback.Run(icon_data);
|
| + callback.Run(icon_data.get());
|
| } else {
|
| // Attach the ChromeURLDataManager request ID to the history request.
|
| IconRequestDetails details;
|
| @@ -163,7 +163,7 @@ void FileIconSource::OnFileIconDataAvailable(const IconRequestDetails& details,
|
| false,
|
| &icon_data->data());
|
|
|
| - details.callback.Run(icon_data);
|
| + details.callback.Run(icon_data.get());
|
| } else {
|
| // TODO(glen): send a dummy icon.
|
| details.callback.Run(NULL);
|
|
|