Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: tools/lua/gradients.py

Issue 2159853003: Add bounds info (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary verbs table Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/lua/gradients.lua ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lua/gradients.py
diff --git a/tools/lua/gradients.py b/tools/lua/gradients.py
index 65ced5e854a38b49c5a2f9ec3c1321a70b6622c6..580781731b6499b93d977e1b7164a2d484e51e3d 100755
--- a/tools/lua/gradients.py
+++ b/tools/lua/gradients.py
@@ -19,6 +19,8 @@ def create_database(inpath, outpath):
EvenlySpaced INTEGER,
HardStopCount INTEGER,
Verb TEXT,
+ BoundsWidth INTEGER,
+ BoundsHeight INTEGER,
Positions TEXT
)''');
c.execute("DELETE FROM gradients");
@@ -29,7 +31,7 @@ def create_database(inpath, outpath):
gradients.append(line.split());
c.executemany(
- "INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
+ "INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
gradients);
conn.commit();
« no previous file with comments | « tools/lua/gradients.lua ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698