Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / inspector / ScriptArguments.h
index aa84123..9c6ed5a 100644 (file)
@@ -50,14 +50,14 @@ public:
     const ScriptValue& argumentAt(size_t) const;
     size_t argumentCount() const { return m_arguments.size(); }
 
-    ScriptState* globalState() const;
+    ScriptState* scriptState() const { return m_scriptState.get(); }
 
     bool getFirstArgumentAsString(WTF::String& result, bool checkForNullOrUndefined = false);
 
 private:
     ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);
 
-    ScriptStateProtectedPtr m_scriptState;
+    ScriptStateProtectingContext m_scriptState;
     Vector<ScriptValue> m_arguments;
 };