| Index: chrome/browser/component_updater/background_downloader_win.cc
|
| diff --git a/chrome/browser/component_updater/background_downloader_win.cc b/chrome/browser/component_updater/background_downloader_win.cc
|
| index 43db77a825399ce6a041e046fc332a42c772459e..c92320a073f2b3fcfe921a39374d8d12b72f9cd1 100644
|
| --- a/chrome/browser/component_updater/background_downloader_win.cc
|
| +++ b/chrome/browser/component_updater/background_downloader_win.cc
|
| @@ -525,6 +525,8 @@ void BackgroundDownloader::EndDownload(HRESULT error) {
|
| // Clean up stale jobs before invoking the callback.
|
| CleanupStaleJobs(bits_manager_);
|
|
|
| + bits_manager_ = NULL;
|
| +
|
| Result result;
|
| result.error = error;
|
| result.response = response;
|
| @@ -537,8 +539,6 @@ void BackgroundDownloader::EndDownload(HRESULT error) {
|
| result,
|
| download_metrics));
|
|
|
| - bits_manager_ = NULL;
|
| -
|
| // Once the task is posted to the the UI thread, this object may be deleted
|
| // by its owner. It is not safe to access members of this object on the
|
| // FILE thread from this point on. The timer is stopped and all BITS
|
|
|