summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_update.cc
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 20:10:23 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 20:10:23 +0000
commit793ee1ad634fb9e0d86c8b6625c600d0bc202f22 (patch)
treef600e4981ad32e32d511e5d80f4d0dd1d9dc38e9 /chrome/browser/google_update.cc
parent6fe676ae6572a0289e2f33ade575ba852d0479c8 (diff)
downloadchromium_src-793ee1ad634fb9e0d86c8b6625c600d0bc202f22.zip
chromium_src-793ee1ad634fb9e0d86c8b6625c600d0bc202f22.tar.gz
chromium_src-793ee1ad634fb9e0d86c8b6625c600d0bc202f22.tar.bz2
Landing a patch for Adam. See http://codereview.chromium.org/3136 for details.
TBR=abarth Review URL: http://codereview.chromium.org/2996 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_update.cc')
-rw-r--r--chrome/browser/google_update.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/google_update.cc b/chrome/browser/google_update.cc
index c52c7ac..da56359 100644
--- a/chrome/browser/google_update.cc
+++ b/chrome/browser/google_update.cc
@@ -146,14 +146,6 @@ class GoogleUpdateJobObserver
CComPtr<IProgressWndEvents> event_sink_;
};
-// TODO(finnur): (http://b/1292883) The object is currently managing its own
-// lifetime, but should be converted to use RefCountedThreadSafe instead.
-template <>
-struct RunnableMethodTraits<GoogleUpdate> {
- static void RetainCallee(GoogleUpdate* obj) { }
- static void ReleaseCallee(GoogleUpdate* obj) { }
-};
-
////////////////////////////////////////////////////////////////////////////////
// GoogleUpdate, public:
@@ -254,8 +246,6 @@ void GoogleUpdate::ReportResults(GoogleUpdateUpgradeResult results,
error_code == GOOGLE_UPDATE_NO_ERROR);
if (listener_)
listener_->OnReportResults(results, error_code, version_available_);
-
- delete this;
}
bool GoogleUpdate::ReportFailure(HRESULT hr, GoogleUpdateErrorCode error_code,