| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| index 13d501853b1b8bf2c92f8dafcc6b708aa1fa2f39..eb98877280a0810f5d154ba222326fe4195154e2 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| @@ -12,6 +12,8 @@
|
| #include "V8TestException.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "bindings/core/v8/IDLTypes.h"
|
| +#include "bindings/core/v8/NativeValueTraitsImpl.h"
|
| #include "bindings/core/v8/V8DOMConfiguration.h"
|
| #include "bindings/core/v8/V8ObjectConstructor.h"
|
| #include "core/dom/Document.h"
|
| @@ -83,7 +85,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| }
|
|
|
| uint16_t argument;
|
| - argument = toUInt16(info.GetIsolate(), info[0], NormalConversion, exceptionState);
|
| + argument = NativeValueTraits<IDLUnsignedShort>::nativeValue(info.GetIsolate(), info[0], exceptionState, NormalConversion);
|
| if (exceptionState.hadException())
|
| return;
|
|
|
| @@ -168,4 +170,8 @@ TestException* V8TestException::toImplWithTypeCheck(v8::Isolate* isolate, v8::Lo
|
| return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
|
| }
|
|
|
| +TestException* NativeValueTraits<TestException>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| + return V8TestException::toImplWithTypeCheck(isolate, value);
|
| +}
|
| +
|
| } // namespace blink
|
|
|