Consolidate GeneratedImage pattern code.

Move drawPattern up to GeneratedImage and add drawTilePicture to
subclasses to implements to specific drawing calls for gradient
and cross-fade. This is a follow up to
https://codereview.chromium.org/849303002/

[email protected]
BUG=449602

Review URL: https://codereview.chromium.org/857303002

git-svn-id: svn://svn.chromium.org/blink/trunk@188701 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: f9981041b20dadbf1bf456e8c6a1c00c5c1209fb
  1. third_party/