commit | 565b669a9d313e2fc690167f6e4ad6b4e4e3f01c | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Apr 17 13:49:17 2014 |
committer | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Apr 17 13:49:17 2014 |
tree | 09f5a50716f622c0911283677cc9fa55394eb6aa | |
parent | 4934559204b6391048aca5ba8a729b376587404f [diff] |
Handle the DOMString case of CRC2D.fillStyle/strokeStyle correctly Non-CanvasGradient/CanvasPattern objects would not be ToString(v)'d and have the result assigned/parsed as a color-string. Implement this by checking for CanvasGradient/CanvasPattern first, and then invole ToString() on the value. BUG=364008 Review URL: https://codereview.chromium.org/237743007 git-svn-id: svn://svn.chromium.org/blink/trunk@171852 bbb929c8-8fbe-4397-9dbb-9b2b20218538