diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h b/chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h index f948cffd6d1..f74c7c2044a 100644 --- a/chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h +++ b/chromium/third_party/WebKit/Source/core/testing/InternalProfilers.h @@ -31,22 +31,26 @@ #ifndef InternalProfilers_h #define InternalProfilers_h +#include "platform/heap/Handle.h" #include "wtf/Forward.h" #include "wtf/PassRefPtr.h" #include "wtf/RefCounted.h" namespace WebCore { - - -class InternalProfilers : public RefCounted<InternalProfilers> { +class InternalProfilers : public RefCountedWillBeGarbageCollected<InternalProfilers> { public: - static PassRefPtr<InternalProfilers> create() { return adoptRef(new InternalProfilers()); } + static PassRefPtrWillBeRawPtr<InternalProfilers> create() + { + return adoptRefWillBeNoop(new InternalProfilers()); + } void startHeapProfiling(const String& prefix); void stopHeapProfiling(); void dumpHeapProfiling(const String& reason); String getHeapProfile(); + + void trace(Visitor*) { } }; } // namespace WebCore |