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

Unified Diff: base/threading/platform_thread.h

Issue 10332269: RefCounted types should not have public destructors, base/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 years, 6 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/threading/non_thread_safe_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/platform_thread.h
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
index fc64f78967cc3660d49b96ae7f81aa2250423fea..de552c816a6a631133278c220f4e995a9c3675a3 100644
--- a/base/threading/platform_thread.h
+++ b/base/threading/platform_thread.h
@@ -54,8 +54,10 @@ class BASE_EXPORT PlatformThread {
// ThreadMain method will be called on the newly created thread.
class BASE_EXPORT Delegate {
public:
- virtual ~Delegate() {}
virtual void ThreadMain() = 0;
+
+ protected:
+ virtual ~Delegate() {}
};
// Gets the current thread id, which may be useful for logging purposes.
« no previous file with comments | « base/threading/non_thread_safe_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698