Bug 57867

Summary: Re-order enum ResourceLoadPriority to make Unresolved value less important
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Page LoadingAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, koivisto, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch koivisto: review+

Description David Kilzer (:ddkilzer) 2011-04-05 11:30:02 PDT
Created attachment 88286 [details]
Patch

Reviewed by NOBODY (OOPS!).

* platform/network/ResourceLoadPriority.h:
(enum ResourceLoadPriority): Moved Unresolved enum to the top of
the list and set to -1 to emphasize the fact that this is an
unresolved priority (rather than one higher than the highest
priority).  Removed whitespace from the end of all enum lines.
---
 2 files changed, 20 insertions(+), 8 deletions(-)
Comment 1 David Kilzer (:ddkilzer) 2011-04-05 11:30:58 PDT
Ran through all Debug layout tests without any new issues.
Comment 2 WebKit Review Bot 2011-04-05 11:31:45 PDT
Attachment 88286 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style']" exit_code: 1

Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 David Kilzer (:ddkilzer) 2011-04-19 12:58:01 PDT
Committed r84284: <http://trac.webkit.org/changeset/84284>