diff options
Diffstat (limited to 'chrome/browser/sync/sync_setup_wizard.cc')
-rw-r--r-- | chrome/browser/sync/sync_setup_wizard.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/sync/sync_setup_wizard.cc b/chrome/browser/sync/sync_setup_wizard.cc index 2027bdb..5c55730 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; } |