Index: base/threading/non_thread_safe.h |
diff --git a/base/threading/non_thread_safe.h b/base/threading/non_thread_safe.h |
index a104ae3d298391e68fdc9a80d6801a2e71d87177..74540573c1e282477d3ce90343ca979d96cbf821 100644 |
--- a/base/threading/non_thread_safe.h |
+++ b/base/threading/non_thread_safe.h |
@@ -62,11 +62,9 @@ class NonThreadSafeDoNothing { |
// NonThreadSafe. For more details about when to choose one over the other, see |
// the documentation for base::ThreadChecker. |
#if ENABLE_NON_THREAD_SAFE |
-class NonThreadSafe : public NonThreadSafeImpl { |
-}; |
+typedef NonThreadSafeImpl NonThreadSafe; |
jar (doing other things)
2012/07/09 16:51:45
Can you motivate this change? This opens a tad mor
Ryan Sleevi
2012/07/09 23:27:54
More aptly, it closes functionality, not opens it
jar (doing other things)
2012/07/09 23:33:51
SGTM (my confusion in my comment).
On 2012/07/09
|
#else |
-class NonThreadSafe : public NonThreadSafeDoNothing { |
-}; |
+typedef NonThreadSafeDoNothing NonThreadsafe; |
Ryan Sleevi
2012/07/09 23:27:54
Incidentally, my shift-key appears to be broken on
|
#endif // ENABLE_NON_THREAD_SAFE |
#undef ENABLE_NON_THREAD_SAFE |