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

Unified Diff: Source/bindings/v8/ScriptObject.h

Issue 293963003: Remove ScriptObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/bindings/v8/ScriptFunctionCall.cpp ('k') | Source/bindings/v8/ScriptObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptObject.h
diff --git a/Source/bindings/v8/ScriptObject.h b/Source/bindings/v8/ScriptObject.h
index ffc806e37c1d6cbe0d4681605443bf7f549473ba..352a2a938ffcb6dc2499230c1b1dadb0f8e63b82 100644
--- a/Source/bindings/v8/ScriptObject.h
+++ b/Source/bindings/v8/ScriptObject.h
@@ -40,23 +40,11 @@ namespace WebCore {
class InspectorFrontendHost;
class ScriptState;
- class ScriptObject FINAL : public ScriptValue {
- public:
- ScriptObject(ScriptState*, v8::Handle<v8::Object>);
- ScriptObject(ScriptState*, const ScriptValue&);
- ScriptObject();
- virtual ~ScriptObject();
-
- v8::Handle<v8::Object> v8Object() const;
- ScriptState* scriptState() const { return m_scriptState.get(); }
- protected:
- RefPtr<ScriptState> m_scriptState;
- };
-
+ // FIXME: Remove this.
class ScriptGlobalObject {
public:
static bool set(ScriptState*, const char* name, InspectorFrontendHost*);
- static bool get(ScriptState*, const char* name, ScriptObject&);
+ static bool get(ScriptState*, const char* name, ScriptValue&);
private:
ScriptGlobalObject() { }
};
« no previous file with comments | « Source/bindings/v8/ScriptFunctionCall.cpp ('k') | Source/bindings/v8/ScriptObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698