Bug 130315

Summary: CSSValueList should assert that no null values are added to it.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, gyuyoung.kim, kling, koivisto, macpherson, menard
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

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>