| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| index 193079c35569586ef22902dd8fbaa4b3ba997b78..13a9fdc71cd3bdd388ad33aaa8cc80c48c256297 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| @@ -775,6 +775,17 @@ struct NativeValueTraits<String> {
|
| };
|
|
|
| template<>
|
| +struct NativeValueTraits<AtomicString> {
|
| + static inline AtomicString nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState)
|
| + {
|
| + V8StringResource<> stringValue(value);
|
| + if (!stringValue.prepare(exceptionState))
|
| + return AtomicString();
|
| + return stringValue;
|
| + }
|
| +};
|
| +
|
| +template<>
|
| struct NativeValueTraits<int> {
|
| static inline int nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState)
|
| {
|
|
|