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

Unified Diff: base/threading/post_task_and_reply_impl.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 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
Index: base/threading/post_task_and_reply_impl.h
diff --git a/base/threading/post_task_and_reply_impl.h b/base/threading/post_task_and_reply_impl.h
index 076a46d69e86619be6f585f7854072ef6a5e0ae8..3e4e9f0b300b5529e05ead62709fc430b42cb01c 100644
--- a/base/threading/post_task_and_reply_impl.h
+++ b/base/threading/post_task_and_reply_impl.h
@@ -31,6 +31,9 @@ class PostTaskAndReplyImpl {
const Closure& task,
const Closure& reply);
+ protected:
+ virtual ~PostTaskAndReplyImpl() { }
+
private:
virtual bool PostTask(const tracked_objects::Location& from_here,
const Closure& task) = 0;

Powered by Google App Engine
This is Rietveld 408576698