Index: base/memory/singleton.h |
diff --git a/base/memory/singleton.h b/base/memory/singleton.h |
index 10f0981098565f628b5d84d2fd9e6448d59d62f1..bc4684b0b8940acf87ca016341465764967a26ab 100644 |
--- a/base/memory/singleton.h |
+++ b/base/memory/singleton.h |
@@ -205,6 +205,9 @@ class Singleton { |
// method and call Singleton::get() from within that. |
friend Type* Type::GetInstance(); |
+ // Allow TraceLog tests to test tracing after OnExit. |
+ friend class DeleteTraceLogForTesting; |
+ |
// This class is safe to be constructed and copy-constructed since it has no |
// member. |