Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7818)

Unified Diff: chrome/browser/upgrade_detector_impl.cc

Issue 8588066: Fix a bug that incorrectly kicked off the upgrade task. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/upgrade_detector_impl.cc
===================================================================
--- chrome/browser/upgrade_detector_impl.cc (revision 110561)
+++ chrome/browser/upgrade_detector_impl.cc (working copy)
@@ -76,14 +76,6 @@
is_critical_upgrade_(is_critical_upgrade) {
}
- virtual ~DetectUpgradeTask() {
- if (!upgrade_detected_task_.is_null()) {
- // This has to get deleted on the same thread it was created.
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- upgrade_detected_task_);
- }
- }
-
virtual void Run() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698