Changeset 143681 in webkit


Ignore:
Timestamp:
Feb 21, 2013 6:54:25 PM (11 years ago)
Author:
eric@webkit.org
Message:

LayoutTests/fast/encoding/parser-tests-*.html timeout with threaded HTML parser
https://bugs.webkit.org/show_bug.cgi?id=109995

Unreviewed speculative fix for Mac WK1.

It appears that m_frame can be null for Mac WK1.

  • loader/DocumentLoader.cpp:

(WebCore::DocumentLoader::isLoading):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143680 r143681  
     12013-02-21  Eric Seidel  <eric@webkit.org>
     2
     3        LayoutTests/fast/encoding/parser-tests-*.html timeout with threaded HTML parser
     4        https://bugs.webkit.org/show_bug.cgi?id=109995
     5
     6        Unreviewed speculative fix for Mac WK1.
     7
     8        It appears that m_frame can be null for Mac WK1.
     9
     10        * loader/DocumentLoader.cpp:
     11        (WebCore::DocumentLoader::isLoading):
     12
    1132013-02-21  Dean Jackson  <dino@apple.com>
    214
  • trunk/Source/WebCore/loader/DocumentLoader.cpp

    r143664 r143681  
    281281bool DocumentLoader::isLoading() const
    282282{
    283     if (m_frame->document() && m_frame->document()->hasActiveParser())
     283    if (m_frame && m_frame->document() && m_frame->document()->hasActiveParser())
    284284        return true;
    285285    return isLoadingMainResource() || !m_subresourceLoaders.isEmpty() || !m_plugInStreamLoaders.isEmpty();
Note: See TracChangeset for help on using the changeset viewer.