Changeset 131499 in webkit
- Timestamp:
- Oct 16, 2012 2:05:15 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r131497 r131499 1 2012-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 1 16 2012-10-16 Tony Chang <tony@chromium.org> 2 17 -
trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm
r130996 r131499 96 96 { 97 97 m_isNull = !nsError; 98 if (!m_isNull) 99 m_isTimeout = [m_platformError.get() code] == NSURLErrorTimedOut; 98 100 } 99 101 … … 103 105 { 104 106 m_isNull = !cfError; 107 if (!m_isNull) 108 m_isTimeout = [m_platformError.get() code] == NSURLErrorTimedOut; 105 109 } 106 110
Note: See TracChangeset
for help on using the changeset viewer.