Commit 1b3a24aa authored by kevino@webkit.org's avatar kevino@webkit.org

Reviewed by Kevin Ollivier.

Move to using FrameView::resize to handle changes in view size.
        
https://bugs.webkit.org/show_bug.cgi?id=57805


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 283a6a84
2011-04-04 Malcolm MacLeod <mmacleod@webmail.co.za>
Reviewed by Kevin Ollivier.
Move to using FrameView::resize to handle changes in view size.
https://bugs.webkit.org/show_bug.cgi?id=57805
* WebView.cpp:
(wxWebView::OnSize):
2011-04-04 Alexey Proskuryakov <ap@apple.com>
Reviewed by Dan Bernstein.
......
......@@ -703,8 +703,7 @@ void wxWebView::OnSize(wxSizeEvent& event)
{
if (m_isInitialized && m_mainFrame) {
WebCore::Frame* frame = m_mainFrame->GetFrame();
frame->view()->setFrameRect(wxRect(wxPoint(0,0), event.GetSize()));
frame->view()->forceLayout();
frame->view()->resize(event.GetSize());
frame->view()->adjustViewSize();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment