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

Unified Diff: base/task_queue.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months 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 | « base/synchronization/waitable_event_watcher.h ('k') | base/values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_queue.h
diff --git a/base/task_queue.h b/base/task_queue.h
index 8bd3cb771ceb09c0b94132212d1f20c2b096de0b..45a43e912a0d264fa4edabc9b623365d6829be9c 100644
--- a/base/task_queue.h
+++ b/base/task_queue.h
@@ -17,7 +17,7 @@
class BASE_API TaskQueue : public Task {
public:
TaskQueue();
- ~TaskQueue();
+ virtual ~TaskQueue();
// Push the specified task onto the queue. When the queue is run, the tasks
// will be run in the order they are pushed.
« no previous file with comments | « base/synchronization/waitable_event_watcher.h ('k') | base/values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698