Chromium Code Reviews| 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); |