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..2f44dcae4d5c5b62a91e8de818a77e84f4ee408f 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; |
#else |
-class NonThreadSafe : public NonThreadSafeDoNothing { |
-}; |
+typedef NonThreadSafeDoNothing NonThreadSafe; |
#endif // ENABLE_NON_THREAD_SAFE |
#undef ENABLE_NON_THREAD_SAFE |