diff options
| author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-20 09:56:07 +0000 |
|---|---|---|
| committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-20 09:56:07 +0000 |
| commit | 41386e9cb918eed93b3f13648cbef387e371e451 (patch) | |
| tree | a97f9d7bd1d9d091833286085f72da9d83fd0606 /Source/JavaScriptCore/bindings/ScriptValue.h | |
| parent | e15dd966d523731101f70ccf768bba12435a0208 (diff) | |
| download | WebKitGtk-tarball-41386e9cb918eed93b3f13648cbef387e371e451.tar.gz | |
webkitgtk-2.4.9webkitgtk-2.4.9
Diffstat (limited to 'Source/JavaScriptCore/bindings/ScriptValue.h')
| -rw-r--r-- | Source/JavaScriptCore/bindings/ScriptValue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/bindings/ScriptValue.h b/Source/JavaScriptCore/bindings/ScriptValue.h index 78a2ee9a3..d5fade90b 100644 --- a/Source/JavaScriptCore/bindings/ScriptValue.h +++ b/Source/JavaScriptCore/bindings/ScriptValue.h @@ -33,7 +33,6 @@ #define ScriptValue_h #include "JSCJSValue.h" -#include "JSCJSValueInlines.h" #include "Operations.h" #include "Strong.h" #include "StrongInlines.h" @@ -52,7 +51,6 @@ public: ScriptValue(JSC::VM& vm, JSC::JSValue value) : m_value(vm, value) { } virtual ~ScriptValue(); - operator JSC::JSValue() const { return jsValue(); } JSC::JSValue jsValue() const { return m_value.get(); } bool getString(JSC::ExecState*, String& result) const; String toString(JSC::ExecState*) const; @@ -67,7 +65,9 @@ public: bool operator==(const ScriptValue& other) const { return m_value == other.m_value; } - RefPtr<Inspector::InspectorValue> toInspectorValue(JSC::ExecState*) const; +#if ENABLE(INSPECTOR) + PassRefPtr<Inspector::InspectorValue> toInspectorValue(JSC::ExecState*) const; +#endif private: JSC::Strong<JSC::Unknown> m_value; |
