Bug 162078 - [CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
Summary: [CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks: 46591
  Show dependency treegraph
 
Reported: 2016-09-16 11:40 PDT by Dave Hyatt
Modified: 2016-09-22 13:36 PDT (History)
2 users (show)

See Also:


Attachments
Patch (85.26 KB, patch)
2016-09-16 12:03 PDT, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (85.19 KB, patch)
2016-09-16 12:08 PDT, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (85.21 KB, patch)
2016-09-16 12:11 PDT, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (86.50 KB, patch)
2016-09-16 12:39 PDT, Dave Hyatt
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2016-09-16 11:40:43 PDT
[CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
Comment 1 Dave Hyatt 2016-09-16 12:03:04 PDT
Created attachment 289087 [details]
Patch
Comment 2 WebKit Commit Bot 2016-09-16 12:05:09 PDT
Attachment 289087 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSCalculationValue.cpp:609:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/css/parser/CSSParserIdioms.h:69:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/css/CSSPrimitiveValue.h:159:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
ERROR: Source/WebCore/css/CSSPrimitiveValue.h:165:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
ERROR: Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:579:  'result' is incorrectly named. It should be named 'protector' or 'protectedNullptr'.  [readability/naming/protected] [4]
ERROR: Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:998:  'result' is incorrectly named. It should be named 'protector' or 'protectedNullptr'.  [readability/naming/protected] [4]
Total errors found: 6 in 21 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Dave Hyatt 2016-09-16 12:08:15 PDT
Created attachment 289090 [details]
Patch
Comment 4 WebKit Commit Bot 2016-09-16 12:10:41 PDT
Attachment 289090 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSPrimitiveValue.h:159:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
ERROR: Source/WebCore/css/CSSPrimitiveValue.h:165:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
Total errors found: 2 in 21 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Dave Hyatt 2016-09-16 12:11:57 PDT
Created attachment 289092 [details]
Patch
Comment 6 WebKit Commit Bot 2016-09-16 12:13:33 PDT
Attachment 289092 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSPrimitiveValue.h:159:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
ERROR: Source/WebCore/css/CSSPrimitiveValue.h:165:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
Total errors found: 2 in 21 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Dave Hyatt 2016-09-16 12:39:01 PDT
Created attachment 289094 [details]
Patch
Comment 8 WebKit Commit Bot 2016-09-16 12:41:12 PDT
Attachment 289094 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSPrimitiveValue.h:159:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
ERROR: Source/WebCore/css/CSSPrimitiveValue.h:165:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
Total errors found: 2 in 23 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Dean Jackson 2016-09-16 12:55:42 PDT
Comment on attachment 289094 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=289094&action=review

> Source/WebCore/css/CSSCalculationValue.cpp:900
> +    return expression ? adoptRef(new CSSCalcValue(expression.releaseNonNull(), range != ValueRangeAll)) : nullptr;
> +
> +}

Nit: extra blank line
Comment 10 Dave Hyatt 2016-09-16 13:26:43 PDT
Landed in r206043.