| Index: Source/web/WebFrameImpl.cpp
|
| ===================================================================
|
| --- Source/web/WebFrameImpl.cpp (revision 170478)
|
| +++ Source/web/WebFrameImpl.cpp (working copy)
|
| @@ -728,7 +728,7 @@
|
| Node* node = xpathResult->iterateNext(IGNORE_EXCEPTION);
|
| if (!node || !node->isFrameOwnerElement())
|
| return 0;
|
| - return fromFrame(toLocalFrame(toHTMLFrameOwnerElement(node)->contentFrame()));
|
| + return fromFrame(toHTMLFrameOwnerElement(node)->contentFrame());
|
| }
|
|
|
| WebDocument WebFrameImpl::document() const
|
| @@ -1784,7 +1784,7 @@
|
| // FIXME: Why do we check specifically for <iframe> and <frame> here? Why can't we get the WebFrameImpl from an <object> element, for example.
|
| if (!isHTMLFrameElementBase(element))
|
| return 0;
|
| - return fromFrame(toLocalFrame(toHTMLFrameElementBase(element)->contentFrame()));
|
| + return fromFrame(toHTMLFrameElementBase(element)->contentFrame());
|
| }
|
|
|
| WebViewImpl* WebFrameImpl::viewImpl() const
|
|
|