Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1245)

Unified Diff: Source/core/inspector/ScriptProfile.h

Issue 325143002: Oilpan: Prepare moving inspector script related classes to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/ScriptCallStack.cpp ('k') | Source/core/inspector/TimelineRecordFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptProfile.h
diff --git a/Source/core/inspector/ScriptProfile.h b/Source/core/inspector/ScriptProfile.h
index f94473577af04adea5637715903d193d120afaa4..4eaf87466e244b30558ef1f33aaadfe56d77c432 100644
--- a/Source/core/inspector/ScriptProfile.h
+++ b/Source/core/inspector/ScriptProfile.h
@@ -32,19 +32,21 @@
#define ScriptProfile_h
#include "InspectorTypeBuilder.h"
+#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
#include <v8-profiler.h>
namespace WebCore {
-class ScriptProfile FINAL : public RefCounted<ScriptProfile> {
+class ScriptProfile FINAL : public RefCountedWillBeGarbageCollectedFinalized<ScriptProfile> {
public:
- static PassRefPtr<ScriptProfile> create(v8::CpuProfile* profile, double idleTime)
+ static PassRefPtrWillBeRawPtr<ScriptProfile> create(v8::CpuProfile* profile, double idleTime)
{
- return adoptRef(new ScriptProfile(profile, idleTime));
+ return adoptRefWillBeNoop(new ScriptProfile(profile, idleTime));
}
~ScriptProfile();
+ void trace(Visitor*) { }
String title() const;
double idleTime() const;
« no previous file with comments | « Source/core/inspector/ScriptCallStack.cpp ('k') | Source/core/inspector/TimelineRecordFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698