Bug 108086 - [chromium] Missing include in AssertMatchingEnums.cpp
Summary: [chromium] Missing include in AssertMatchingEnums.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mike West
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 08:32 PST by Mike West
Modified: 2013-01-28 08:56 PST (History)
1 user (show)

See Also:


Attachments
Patch (1.41 KB, patch)
2013-01-28 08:34 PST, Mike West
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike West 2013-01-28 08:32:08 PST
With SVG disabled, the Chromium build is currently broken due to a missing include in Source/WebKit/chromium/src/AssertMatchingEnums.cpp:

../../Source/WebKit/chromium/src/AssertMatchingEnums.cpp:634:63: error: no member named 'ResourceLoadPriorityVeryHigh' in namespace 'WebCore'
COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriorityVeryHigh);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WebKit/chromium/src/AssertMatchingEnums.cpp:131:61: note: expanded from macro 'COMPILE_ASSERT_MATCHING_ENUM'
    COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), mismatching_enums)
                                                            ^
../../Source/WebKit/chromium/base/basictypes.h:206:31: note: expanded from macro 'COMPILE_ASSERT'
  typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
                              ^~~~
../../Source/WebKit/chromium/src/AssertMatchingEnums.cpp:634:63: error: no member named 'ResourceLoadPriorityVeryHigh' in namespace 'WebCore'
COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriorityVeryHigh);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WebKit/chromium/src/AssertMatchingEnums.cpp:131:61: note: expanded from macro 'COMPILE_ASSERT_MATCHING_ENUM'
    COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), mismatching_enums)

And so on...
Comment 1 Mike West 2013-01-28 08:34:38 PST
Created attachment 184989 [details]
Patch
Comment 2 WebKit Review Bot 2013-01-28 08:56:31 PST
Comment on attachment 184989 [details]
Patch

Clearing flags on attachment: 184989

Committed r140971: <http://trac.webkit.org/changeset/140971>
Comment 3 WebKit Review Bot 2013-01-28 08:56:35 PST
All reviewed patches have been landed.  Closing bug.