| Index: third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp
|
| index 2fef52b653f418d5f3b0efc6ea42cd653b07adcf..daeda9dc302f8f56025a08c8f042f9bed7551f6c 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.cpp
|
| @@ -35,18 +35,18 @@
|
| return container;
|
| }
|
|
|
| -NotShared<DOMUint8Array> TestInterface2OrUint8Array::getAsUint8Array() const {
|
| +DOMUint8Array* TestInterface2OrUint8Array::getAsUint8Array() const {
|
| DCHECK(isUint8Array());
|
| return m_uint8Array;
|
| }
|
|
|
| -void TestInterface2OrUint8Array::setUint8Array(NotShared<DOMUint8Array> value) {
|
| +void TestInterface2OrUint8Array::setUint8Array(DOMUint8Array* value) {
|
| DCHECK(isNull());
|
| - m_uint8Array = Member<DOMUint8Array>(value.View());
|
| + m_uint8Array = value;
|
| m_type = SpecificTypeUint8Array;
|
| }
|
|
|
| -TestInterface2OrUint8Array TestInterface2OrUint8Array::fromUint8Array(NotShared<DOMUint8Array> value) {
|
| +TestInterface2OrUint8Array TestInterface2OrUint8Array::fromUint8Array(DOMUint8Array* value) {
|
| TestInterface2OrUint8Array container;
|
| container.setUint8Array(value);
|
| return container;
|
| @@ -75,9 +75,7 @@
|
| }
|
|
|
| if (v8Value->IsUint8Array()) {
|
| - NotShared<DOMUint8Array> cppValue = ToNotShared<NotShared<DOMUint8Array>>(isolate, v8Value, exceptionState);
|
| - if (exceptionState.HadException())
|
| - return;
|
| + DOMUint8Array* cppValue = V8Uint8Array::toImpl(v8::Local<v8::Object>::Cast(v8Value));
|
| impl.setUint8Array(cppValue);
|
| return;
|
| }
|
|
|