| Index: third_party/WebKit/Source/platform/wtf/RefCounted.h
|
| diff --git a/third_party/WebKit/Source/platform/wtf/RefCounted.h b/third_party/WebKit/Source/platform/wtf/RefCounted.h
|
| index 7150d9b455b81d9958e992e640c2908909f06f5a..78084693f529453b6e8aba93ac5011a69e3e19b7 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/RefCounted.h
|
| +++ b/third_party/WebKit/Source/platform/wtf/RefCounted.h
|
| @@ -26,10 +26,6 @@
|
| #include "platform/wtf/Noncopyable.h"
|
| #include "platform/wtf/WTFExport.h"
|
|
|
| -#if ENABLE(INSTANCE_COUNTER)
|
| -#include "platform/wtf/InstanceCounter.h"
|
| -#endif
|
| -
|
| #if DCHECK_IS_ON()
|
| #define CHECK_REF_COUNTED_LIFECYCLE 1
|
| #include "platform/wtf/ThreadRestrictionVerifier.h"
|
| @@ -155,13 +151,7 @@ class RefCounted : public RefCountedBase {
|
| }
|
|
|
| protected:
|
| -#if ENABLE(INSTANCE_COUNTER)
|
| - RefCounted() { incrementInstanceCount<T>(static_cast<T*>(this)); }
|
| -
|
| - ~RefCounted() { decrementInstanceCount<T>(static_cast<T*>(this)); }
|
| -#else
|
| RefCounted() {}
|
| -#endif
|
| };
|
|
|
| // Allows subclasses to use the default copy constructor.
|
|
|