| Index: Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
|
| index bee41e1ef522f5a3e573eab14a5597b7def78498..0df2268e7da720cce54081806e790d66c5c9fa3f 100644
|
| --- a/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -245,24 +245,6 @@ void WebRemoteFrameImpl::removeChild(WebFrame* frame)
|
| m_ownersForChildren.remove(frame);
|
| }
|
|
|
| -WebFrame* WebRemoteFrameImpl::traversePrevious(bool wrap) const
|
| -{
|
| - ASSERT_NOT_REACHED();
|
| - return 0;
|
| -}
|
| -
|
| -WebFrame* WebRemoteFrameImpl::traverseNext(bool wrap) const
|
| -{
|
| - ASSERT_NOT_REACHED();
|
| - return 0;
|
| -}
|
| -
|
| -WebFrame* WebRemoteFrameImpl::findChildByName(const WebString&) const
|
| -{
|
| - ASSERT_NOT_REACHED();
|
| - return 0;
|
| -}
|
| -
|
| WebDocument WebRemoteFrameImpl::document() const
|
| {
|
| ASSERT_NOT_REACHED();
|
| @@ -839,5 +821,12 @@ void WebRemoteFrameImpl::setWebCoreFrame(PassRefPtr<RemoteFrame> frame)
|
| m_frame = frame;
|
| }
|
|
|
| +WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame)
|
| +{
|
| + if (!frame.client())
|
| + return 0;
|
| + return static_cast<RemoteFrameClient*>(frame.client())->webFrame();
|
| +}
|
| +
|
| } // namespace blink
|
|
|
|
|