| Index: Source/bindings/v8/V8WindowShell.cpp
|
| diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp
|
| index d31a1671f1f0bfca7bc809399b5dfc5e1d9777ee..f3273117adb9f0a427ba1652da4ec96438326715 100644
|
| --- a/Source/bindings/v8/V8WindowShell.cpp
|
| +++ b/Source/bindings/v8/V8WindowShell.cpp
|
| @@ -439,7 +439,7 @@ static v8::Handle<v8::Value> getNamedProperty(HTMLDocument* htmlDocument, const
|
| if (items->hasExactlyOneItem()) {
|
| Node* node = items->item(0);
|
| Frame* frame = 0;
|
| - if (node->hasTagName(HTMLNames::iframeTag) && (frame = static_cast<HTMLIFrameElement*>(node)->contentFrame()))
|
| + if (node->hasTagName(HTMLNames::iframeTag) && (frame = toHTMLIFrameElement(node)->contentFrame()))
|
| return toV8(frame->document()->domWindow(), creationContext, isolate);
|
| return toV8(node, creationContext, isolate);
|
| }
|
|
|