Regression(r179584): Assertion hit in toResourceLoadPriority() on Yosemite
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2015 06:25:03 +0000 (06:25 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2015 06:25:03 +0000 (06:25 +0000)
commit2a4ee7a0b6db782e46e297aee7bafebcdf5125d2
treeb69ffd494f4c31abf8a23a1bbebc4ec676511f7e
parent2ca59b0667815aad6f94b19f90b9d8f62d1c09b9
Regression(r179584): Assertion hit in toResourceLoadPriority() on Yosemite
https://bugs.webkit.org/show_bug.cgi?id=141230

Reviewed by Alexey Proskuryakov.

Handle -1 priority value again in toResourceLoadPriority() as it seems to
be returned by CFNetwork on some configurations.

No new tests, already covered by existing tests.

* platform/network/cf/ResourceRequestCFNet.h:
(WebCore::toResourceLoadPriority):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/cf/ResourceRequestCFNet.h