| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| index e34e8aeb2dd19f254cf8784da58c0b5d0f50772e..de3250a8446451560cdbdf138cdd54e094ec57d6 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| @@ -26,6 +26,7 @@
|
| #include "bindings/core/v8/V8TestObject.h"
|
| #include "bindings/core/v8/V8Uint8Array.h"
|
| #include "core/dom/FlexibleArrayBufferView.h"
|
| +#include "core/dom/NotShared.h"
|
| #include "core/frame/Deprecation.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
|
|
| @@ -628,7 +629,9 @@ void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
|
| if (uint8ArrayMemberValue.IsEmpty() || uint8ArrayMemberValue->IsUndefined()) {
|
| // Do nothing.
|
| } else {
|
| - DOMUint8Array* uint8ArrayMember = uint8ArrayMemberValue->IsUint8Array() ? V8Uint8Array::toImpl(v8::Local<v8::Uint8Array>::Cast(uint8ArrayMemberValue)) : 0;
|
| + NotShared<DOMUint8Array> uint8ArrayMember = toNotShared<NotShared<DOMUint8Array>>(isolate, uint8ArrayMemberValue, exceptionState);
|
| + if (exceptionState.hadException())
|
| + return;
|
| if (!uint8ArrayMember) {
|
| exceptionState.throwTypeError("member uint8ArrayMember is not of type Uint8Array.");
|
| return;
|
|
|