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

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: 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
Index: Source/core/inspector/ScriptArguments.h
diff --git a/Source/core/inspector/ScriptArguments.h b/Source/core/inspector/ScriptArguments.h
index 9c6ed5a34ad15a0e44f88e131a33c648375f5a94..956bfe078bdb96a915a2e0801cb54776c810baec 100644
--- a/Source/core/inspector/ScriptArguments.h
+++ b/Source/core/inspector/ScriptArguments.h
@@ -41,11 +41,9 @@ namespace WebCore {
class ScriptValue;
-class ScriptArguments : public RefCounted<ScriptArguments> {
+class ScriptArguments : public RefCountedWillBeGarbageCollectedFinalized<ScriptArguments> {
public:
- static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
-
- ~ScriptArguments();
haraken 2014/06/11 06:27:36 Shall we use DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOV
keishi 2014/06/11 14:40:55 Done.
+ static PassRefPtrWillBeRawPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
const ScriptValue& argumentAt(size_t) const;
size_t argumentCount() const { return m_arguments.size(); }
@@ -54,6 +52,8 @@ public:
bool getFirstArgumentAsString(WTF::String& result, bool checkForNullOrUndefined = false);
+ void trace(Visitor*) { }
+
private:
ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);

Powered by Google App Engine
This is Rietveld 408576698