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

Unified Diff: Source/core/inspector/ScriptArguments.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/JavaScriptCallFrame.idl ('k') | Source/core/inspector/ScriptArguments.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptArguments.h
diff --git a/Source/core/inspector/ScriptArguments.h b/Source/core/inspector/ScriptArguments.h
index 9c6ed5a34ad15a0e44f88e131a33c648375f5a94..c2266115547a1ecb3ae09be7bf81fc9b40bcbf67 100644
--- a/Source/core/inspector/ScriptArguments.h
+++ b/Source/core/inspector/ScriptArguments.h
@@ -41,11 +41,10 @@ namespace WebCore {
class ScriptValue;
-class ScriptArguments : public RefCounted<ScriptArguments> {
+class ScriptArguments : public RefCountedWillBeGarbageCollectedFinalized<ScriptArguments> {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptArguments);
public:
- static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
-
- ~ScriptArguments();
+ static PassRefPtrWillBeRawPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
const ScriptValue& argumentAt(size_t) const;
size_t argumentCount() const { return m_arguments.size(); }
@@ -54,6 +53,8 @@ public:
bool getFirstArgumentAsString(WTF::String& result, bool checkForNullOrUndefined = false);
+ void trace(Visitor*) { }
+
private:
ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);
« no previous file with comments | « Source/core/inspector/JavaScriptCallFrame.idl ('k') | Source/core/inspector/ScriptArguments.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698