As suggested by Darin on bug 43718, the CanvasStyle::create() overloads should be renamed to reflect what they're constructing the CanvasStyle objects from. The same goes for isEquivalentColor() overloads.
Created attachment 64722 [details] Proposed patch
Comment on attachment 64722 [details] Proposed patch > + static PassRefPtr<CanvasStyle> createFromGradient(PassRefPtr<CanvasGradient> gradient); > + static PassRefPtr<CanvasStyle> createFromPattern(PassRefPtr<CanvasPattern> pattern); No need for argument names in these two functions, since the type already expresses the name of the argument.
Committed r65613: <http://trac.webkit.org/changeset/65613>
http://trac.webkit.org/changeset/65613 might have broken SnowLeopard Intel Release (Tests)