Changeset 131499 in webkit


Ignore:
Timestamp:
Oct 16, 2012 2:05:15 PM (11 years ago)
Author:
dominik.rottsches@intel.com
Message:

Init timeout flag in ResourceErrorMac
https://bugs.webkit.org/show_bug.cgi?id=99478

Reviewed by Alexey Proskuryakov.

On construction from platform error types, initialize the timeout flag
to true if the error results from a timeout.

No new tests, covered by tests that will be added in bug 74802.

  • platform/network/mac/ResourceErrorMac.mm:

(WebCore::ResourceError::platformLazyInit): Initializing timeout flag if the error was a timeout.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r131497 r131499  
     12012-10-16  Dominik Röttsches  <dominik.rottsches@intel.com>
     2
     3        Init timeout flag in ResourceErrorMac
     4        https://bugs.webkit.org/show_bug.cgi?id=99478
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        On construction from platform error types, initialize the timeout flag
     9        to true if the error results from a timeout.
     10
     11        No new tests, covered by tests that will be added in bug 74802.
     12
     13        * platform/network/mac/ResourceErrorMac.mm:
     14        (WebCore::ResourceError::platformLazyInit): Initializing timeout flag if the error was a timeout.
     15
    1162012-10-16  Tony Chang  <tony@chromium.org>
    217
  • trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm

    r130996 r131499  
    9696{
    9797    m_isNull = !nsError;
     98    if (!m_isNull)
     99        m_isTimeout = [m_platformError.get() code] == NSURLErrorTimedOut;
    98100}
    99101
     
    103105{
    104106    m_isNull = !cfError;
     107    if (!m_isNull)
     108        m_isTimeout = [m_platformError.get() code] == NSURLErrorTimedOut;
    105109}
    106110
Note: See TracChangeset for help on using the changeset viewer.