diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp')
-rw-r--r-- | Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp b/Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp index 036a5a328..12a2d7a7f 100644 --- a/Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp +++ b/Source/WebCore/bindings/js/JSDOMPluginArrayCustom.cpp @@ -35,7 +35,7 @@ bool JSDOMPluginArray::canGetItemsForName(ExecState*, DOMPluginArray* pluginArra JSValue JSDOMPluginArray::nameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) { - JSDOMPluginArray* thisObj = static_cast<JSDOMPluginArray*>(asObject(slotBase)); + JSDOMPluginArray* thisObj = jsCast<JSDOMPluginArray*>(asObject(slotBase)); return toJS(exec, thisObj->globalObject(), thisObj->impl()->namedItem(identifierToAtomicString(propertyName))); } |