| Index: chrome/browser/sync/sync_setup_wizard.cc
|
| diff --git a/chrome/browser/sync/sync_setup_wizard.cc b/chrome/browser/sync/sync_setup_wizard.cc
|
| index 7d00ab9f939a383c2909e2290d8184a6db534710..ec39995b8091b490334494506ada39fc03a92df9 100644
|
| --- a/chrome/browser/sync/sync_setup_wizard.cc
|
| +++ b/chrome/browser/sync/sync_setup_wizard.cc
|
| @@ -42,9 +42,10 @@ void SyncResourcesSource::StartDataRequest(const std::string& path_raw,
|
| int request_id) {
|
| scoped_refptr<RefCountedBytes> html_bytes(new RefCountedBytes);
|
| if (path_raw == chrome::kSyncThrobberPath) {
|
| - ResourceBundle::GetSharedInstance().LoadImageResourceBytes(IDR_THROBBER,
|
| - &html_bytes->data);
|
| - SendResponse(request_id, html_bytes);
|
| + scoped_refptr<RefCountedMemory> throbber(
|
| + ResourceBundle::GetSharedInstance().LoadImageResourceBytes(
|
| + IDR_THROBBER));
|
| + SendResponse(request_id, throbber);
|
| return;
|
| }
|
|
|
|
|