| Index: chrome/browser/google/google_update_win.cc
|
| diff --git a/chrome/browser/google/google_update_win.cc b/chrome/browser/google/google_update_win.cc
|
| index 91939e0ce6e3fff85c1593e79ff4e41d74b61dc8..d965613c1d35bd38f42f7c97e08561ed5c49ebfd 100644
|
| --- a/chrome/browser/google/google_update_win.cc
|
| +++ b/chrome/browser/google/google_update_win.cc
|
| @@ -531,7 +531,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
|
| hresult = dispatch.QueryInterface(app_bundle.Receive());
|
| if (FAILED(hresult))
|
| return hresult;
|
| - dispatch.Release();
|
| + dispatch.Reset();
|
|
|
| ConfigureProxyBlanket(app_bundle.get());
|
|
|
| @@ -818,10 +818,10 @@ void UpdateCheckDriver::PollGoogleUpdate() {
|
|
|
| // Release the reference on the COM objects before bouncing back to the
|
| // caller's thread.
|
| - state.Release();
|
| - app_.Release();
|
| - app_bundle_.Release();
|
| - google_update_.Release();
|
| + state.Reset();
|
| + app_.Reset();
|
| + app_bundle_.Reset();
|
| + google_update_.Reset();
|
|
|
| result_runner_->DeleteSoon(FROM_HERE, this);
|
| }
|
|
|