Index: Source/bindings/core/v8/V8NPObject.cpp |
diff --git a/Source/bindings/core/v8/V8NPObject.cpp b/Source/bindings/core/v8/V8NPObject.cpp |
index 23ef864473b7864f2da7a6d5fefb65f31b9bc07d..25173cd8a33c66c26e04d5e025fcca7f08cdf7ca 100644 |
--- a/Source/bindings/core/v8/V8NPObject.cpp |
+++ b/Source/bindings/core/v8/V8NPObject.cpp |
@@ -73,11 +73,11 @@ static void npObjectInvokeImpl(const v8::FunctionCallbackInfo<v8::Value>& info, |
v8::Isolate* isolate = info.GetIsolate(); |
// These three types are subtypes of HTMLPlugInElement. |
- HTMLPlugInElement* element = V8HTMLAppletElement::toNativeWithTypeCheck(isolate, info.Holder()); |
+ HTMLPlugInElement* element = V8HTMLAppletElement::toImplWithTypeCheck(isolate, info.Holder()); |
if (!element) { |
- element = V8HTMLEmbedElement::toNativeWithTypeCheck(isolate, info.Holder()); |
+ element = V8HTMLEmbedElement::toImplWithTypeCheck(isolate, info.Holder()); |
if (!element) { |
- element = V8HTMLObjectElement::toNativeWithTypeCheck(isolate, info.Holder()); |
+ element = V8HTMLObjectElement::toImplWithTypeCheck(isolate, info.Holder()); |
} |
} |
if (element) { |
@@ -470,7 +470,7 @@ v8::Local<v8::Object> createV8ObjectForNPObject(NPObject* object, NPObject* root |
if (value.IsEmpty()) |
return value; |
- V8DOMWrapper::setNativeInfo(value, npObjectTypeInfo(), npObjectToInternalPointer(object)); |
+ V8DOMWrapper::setNativeInfo(value, npObjectTypeInfo(), npObjectToScriptWrappableBase(object)); |
// KJS retains the object as part of its wrapper (see Bindings::CInstance). |
_NPN_RetainObject(object); |