| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index bf1d7a715e24c1f471fe485bb9f26116565e8ff7..fdceb39f3f1bc1e307377ecefcc9b1ba3fc37359 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2493,9 +2493,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(
|
|
|