Index: Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp |
index 6088b96daa66ab4f0bdc00f44d41042296d3a892..1c4a6ec6d7e77b64abd6f39448f805c77b767787 100644 |
--- a/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8HTMLOptionsCollectionCustom.cpp |
@@ -49,8 +49,8 @@ void V8HTMLOptionsCollection::addMethodCustom(const v8::FunctionCallbackInfo<v8: |
if (!V8HTMLOptionElement::hasInstance(info[0], info.GetIsolate())) { |
exceptionState.throwTypeError("The element provided was not an HTMLOptionElement."); |
} else { |
- HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toNative(info.Holder()); |
- HTMLOptionElement* option = V8HTMLOptionElement::toNative(v8::Handle<v8::Object>(v8::Handle<v8::Object>::Cast(info[0]))); |
+ HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toImpl(info.Holder()); |
+ HTMLOptionElement* option = V8HTMLOptionElement::toImpl(v8::Handle<v8::Object>(v8::Handle<v8::Object>::Cast(info[0]))); |
if (info.Length() < 2) { |
impl->add(option, exceptionState); |
@@ -68,7 +68,7 @@ void V8HTMLOptionsCollection::addMethodCustom(const v8::FunctionCallbackInfo<v8: |
void V8HTMLOptionsCollection::lengthAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
{ |
- HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toNative(info.Holder()); |
+ HTMLOptionsCollection* impl = V8HTMLOptionsCollection::toImpl(info.Holder()); |
double v = value->NumberValue(); |
unsigned newLength = 0; |
ExceptionState exceptionState(ExceptionState::SetterContext, "length", "HTMLOptionsCollection", info.Holder(), info.GetIsolate()); |