Commit 7c2f10dc authored by adele's avatar adele

Reviewed by Hyatt.

        Fix for <rdar://problem/5026141> REGRESSION: Aperture Viewer Flashes when switching from Index Page to Detail page in Web Gallery

        This disables the paint that occurs after WebCore finishes loading the document.  We should reenable this when we
        move the dispatchDidFinishLoad delegate callback to happen around the same time as the JS onload call.  See <rdar://problem/5092361>.

        * dom/Document.cpp: (WebCore::Document::implicitClose):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dcdb2794
2007-03-27 Adele Peterson <adele@apple.com>
Reviewed by Hyatt.
Fix for <rdar://problem/5026141> REGRESSION: Aperture Viewer Flashes when switching from Index Page to Detail page in Web Gallery
This disables the paint that occurs after WebCore finishes loading the document. We should reenable this when we
move the dispatchDidFinishLoad delegate callback to happen around the same time as the JS onload call. See <rdar://problem/5092361>.
* dom/Document.cpp: (WebCore::Document::implicitClose):
2007-03-26 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
......
......@@ -1421,8 +1421,12 @@ void Document::implicitClose()
// Paint immediately after the document is ready. We do this to ensure that any timers set by the
// onload don't have a chance to fire before we would have painted. To avoid over-flushing we only
// worry about this for the top-level document.
#if !PLATFORM(MAC)
// FIXME: This causes a timing issue with the dispatchDidFinishLoad delegate callback.
// See <rdar://problem/5092361>
if (view() && !ownerElement())
view()->update();
#endif
}
#if PLATFORM(MAC)
......
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