| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index e782fd815414a4f9f5e01c1dd0c07937aa0b69e3..80ff79a1e3ec10aa6bda8e121228e161eae2d7f4 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2503,9 +2503,7 @@ void WebViewImpl::setPageEncoding(const WebString& encodingName)
|
|
|
| WebFrame* WebViewImpl::mainFrame()
|
| {
|
| - // FIXME: This should be updated so it can return both WebLocalFrames and
|
| - // WebRemoteFrames. Right now, it only returns WebLocalFrames.
|
| - return mainFrameImpl();
|
| + return WebFrame::fromFrame(m_page ? m_page->mainFrame() : 0);
|
| }
|
|
|
| WebFrame* WebViewImpl::findFrameByName(
|
|
|