Index: include/utils/SkEventTracer.h |
diff --git a/include/utils/SkEventTracer.h b/include/utils/SkEventTracer.h |
index 8d9fd11f64793bae035b77af639a884ff9c2070c..f4f8676a748ec3621e6b4876d5fc1f0dbfe40b25 100644 |
--- a/include/utils/SkEventTracer.h |
+++ b/include/utils/SkEventTracer.h |
@@ -29,10 +29,7 @@ public: |
static SkEventTracer* GetInstance(); |
- static void SetInstance(SkEventTracer* tracer) { |
- SkDELETE(SkEventTracer::gInstance); |
- SkEventTracer::gInstance = tracer; |
- } |
+ static void SetInstance(SkEventTracer*); |
virtual ~SkEventTracer() { } |
@@ -68,8 +65,6 @@ public: |
updateTraceEventDuration(const uint8_t* categoryEnabledFlag, |
const char* name, |
SkEventTracer::Handle handle) = 0; |
-private: |
- static SkEventTracer *gInstance; |
}; |
#endif // SkEventTracer_DEFINED |