Commit 25c89d2d authored by kov@webkit.org's avatar kov@webkit.org

2009-04-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

        Reviewed by David Hyatt.

        Check document for nullity to avoid crashing on GTK+, when
        creating the WebView.

        * page/FrameView.cpp:
        (WebCore::FrameView::needsLayout):

git-svn-id: svn://svn.chromium.org/blink/trunk@42473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f1938f5f
2009-04-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by David Hyatt.
Check document for nullity to avoid crashing on GTK+, when
creating the WebView.
* page/FrameView.cpp:
(WebCore::FrameView::needsLayout):
2009-04-13 Ada Chan <adachan@apple.com> 2009-04-13 Ada Chan <adachan@apple.com>
Forgot to capitalize the "US". Forgot to capitalize the "US".
...@@ -960,7 +960,7 @@ bool FrameView::needsLayout() const ...@@ -960,7 +960,7 @@ bool FrameView::needsLayout() const
return layoutPending() return layoutPending()
|| (root && root->needsLayout()) || (root && root->needsLayout())
|| m_layoutRoot || m_layoutRoot
|| document->childNeedsStyleRecalc() // can occur when using WebKit ObjC interface || (document && document->childNeedsStyleRecalc()) // can occur when using WebKit ObjC interface
|| m_frame->needsReapplyStyles(); || m_frame->needsReapplyStyles();
} }
......
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