Bug 57867 - Re-order enum ResourceLoadPriority to make Unresolved value less important
Summary: Re-order enum ResourceLoadPriority to make Unresolved value less important
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 11:30 PDT by David Kilzer (:ddkilzer)
Modified: 2011-04-19 12:58 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.03 KB, patch)
2011-04-05 11:30 PDT, David Kilzer (:ddkilzer)
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>