| Index: third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| index 3564c21d31dc671633140390734dc89fb720293e..ae58a62b72f2026b9982d2701071b732f2022cf2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| @@ -266,9 +266,9 @@ bool V0CustomElementConstructorBuilder::PrototypeIsValid(
|
| }
|
|
|
| v8::PropertyAttribute property_attribute;
|
| - if (!V8Call(prototype_->GetPropertyAttributes(
|
| - context, V8String(isolate, "constructor")),
|
| - property_attribute) ||
|
| + if (!prototype_
|
| + ->GetPropertyAttributes(context, V8String(isolate, "constructor"))
|
| + .To(&property_attribute) ||
|
| (property_attribute & v8::DontDelete)) {
|
| V0CustomElementException::ThrowException(
|
| V0CustomElementException::kConstructorPropertyNotConfigurable, type,
|
|
|