Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / ScriptFunctionCall.h
index 0c092be..c35d5f0 100644 (file)
@@ -38,7 +38,6 @@
 
 namespace WebCore {
     class ScriptValue;
-    class ScriptState;
 
     class ScriptCallArgumentHandler {
     public:
@@ -57,7 +56,7 @@ namespace WebCore {
         void appendArgument(const Vector<ScriptValue>&);
 
     protected:
-        ScriptState* m_scriptState;
+        RefPtr<ScriptState> m_scriptState;
         Vector<ScriptValue> m_arguments;
     };
 
@@ -73,17 +72,6 @@ namespace WebCore {
         String m_name;
     };
 
-    class ScriptCallback : public ScriptCallArgumentHandler {
-    public:
-        ScriptCallback(ScriptState*, const ScriptValue&);
-
-        ScriptValue call();
-
-    private:
-        ScriptState* m_scriptState;
-        ScriptValue m_function;
-    };
-
 } // namespace WebCore
 
 #endif // ScriptFunctionCall