Instead of having CSSCanvasValue::setName(), the constructor should take the name as an argument.
Created attachment 122578 [details] Patch
Comment on attachment 122578 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122578&action=review > Source/WebCore/css/CSSParser.cpp:6454 > CSSParserValue* a = args->current(); > if (!a || a->unit != CSSPrimitiveValue::CSS_IDENT) Maybe use a more descriptive name than 'a' since you are here. > Source/WebCore/css/CSSParser.cpp:6457 > - canvas = result; > + > + canvas = CSSCanvasValue::create(a->string); I wouldn't add an empty line here.
Committed r105056: <http://trac.webkit.org/changeset/105056>