Bug 130315 - CSSValueList should assert that no null values are added to it.
Summary: CSSValueList should assert that no null values are added to it.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 15:56 PDT by Andreas Kling
Modified: 2014-03-16 21:32 PDT (History)
8 users (show)

See Also:


Attachments
Patch (3.56 KB, patch)
2014-03-16 15:56 PDT, Andreas Kling
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2014-03-16 15:56:21 PDT
CSSValueList should assert that no null values are added to it.
Comment 1 Andreas Kling 2014-03-16 15:56:53 PDT
Created attachment 226865 [details]
Patch
Comment 2 WebKit Commit Bot 2014-03-16 15:59:35 PDT
Attachment 226865 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSValueList.h:57:  The parameter name "value" adds no information, so it should be removed.  [readability/parameter_name] [5]
ERROR: Source/WebCore/css/CSSValueList.h:58:  The parameter name "value" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 2 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Darin Adler 2014-03-16 19:25:55 PDT
Comment on attachment 226865 [details]
Patch

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

Bot says:

Regressions: Unexpected crashes (1)
  mathml/wbr-in-mroot-crash.html [ Crash ]

r=me if you look into that

> Source/WebCore/css/CSSValueList.h:58
> +    void append(PassRefPtr<CSSValue> value);
> +    void prepend(PassRefPtr<CSSValue> value);

Like the style bot says, you should remove the argument names here.
Comment 4 Andreas Kling 2014-03-16 21:32:22 PDT
Committed r165717: <http://trac.webkit.org/changeset/165717>