Add hard stop count
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2141733002
Review-Url: https://codereview.chromium.org/2141733002
diff --git a/tools/lua/gradients.py b/tools/lua/gradients.py
index a2cf785..f3dd136 100755
--- a/tools/lua/gradients.py
+++ b/tools/lua/gradients.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2015 Google Inc.
+# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -12,12 +12,12 @@
with sqlite3.connect(outpath) as conn:
c = conn.cursor();
c.execute('''CREATE TABLE IF NOT EXISTS gradients (
- ColorCount INTEGER,
- GradientType TEXT,
- TileMode TEXT,
- EvenlySpaced INTEGER,
- HardStops INTEGER,
- Positions TEXT
+ ColorCount INTEGER,
+ GradientType TEXT,
+ TileMode TEXT,
+ EvenlySpaced INTEGER,
+ HardStopCount INTEGER,
+ Positions TEXT
)''');
c.execute("DELETE FROM gradients");