| Index: Source/bindings/core/v8/V8Binding.h
|
| diff --git a/Source/bindings/core/v8/V8Binding.h b/Source/bindings/core/v8/V8Binding.h
|
| index ec48ec713e6847efc67ab827381cd863024ab1ca..c71b05f6920efc9bb12039a9f7348fd6f3cd3352 100644
|
| --- a/Source/bindings/core/v8/V8Binding.h
|
| +++ b/Source/bindings/core/v8/V8Binding.h
|
| @@ -45,6 +45,7 @@
|
| #include "bindings/core/v8/V8ThrowException.h"
|
| #include "bindings/core/v8/V8ValueCache.h"
|
| #include "core/CoreExport.h"
|
| +#include "platform/JSONValues.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/text/AtomicString.h"
|
| #include <v8.h>
|
| @@ -838,6 +839,12 @@ struct NativeValueTraits<Vector<T>> {
|
| }
|
| };
|
|
|
| +using JSONValuePtr = PassRefPtr<JSONValue>;
|
| +template <>
|
| +struct NativeValueTraits<JSONValuePtr> {
|
| + static JSONValuePtr nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&, int maxDepth = JSONValue::maxDepth);
|
| +};
|
| +
|
| CORE_EXPORT v8::Isolate* toIsolate(ExecutionContext*);
|
| v8::Isolate* toIsolate(LocalFrame*);
|
|
|
| @@ -899,8 +906,6 @@ void addHiddenValueToArray(v8::Isolate*, v8::Handle<v8::Object>, v8::Local<v8::V
|
| void removeHiddenValueFromArray(v8::Isolate*, v8::Handle<v8::Object>, v8::Local<v8::Value>, int cacheIndex);
|
| CORE_EXPORT void moveEventListenerToNewWrapper(v8::Isolate*, v8::Handle<v8::Object>, EventListener* oldValue, v8::Local<v8::Value> newValue, int cacheIndex);
|
|
|
| -PassRefPtr<JSONValue> v8ToJSONValue(v8::Isolate*, v8::Handle<v8::Value>, int);
|
| -
|
| // Result values for platform object 'deleter' methods,
|
| // http://www.w3.org/TR/WebIDL/#delete
|
| enum DeleteResult {
|
|
|