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

Unified Diff: tools/lua/gradients.py

Issue 2141733002: Add hard stop count (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary code in SkLua.cpp 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
« tools/lua/gradients.lua ('K') | « 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 a2cf785cbb91e9f4ca85db4dfd27bb8bb6690ed2..f3dd13619fd4bbb46630efaceb3f627cb8fb5ee8 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.
tomhudson 2016/07/12 15:12:08 Nit: I think we aren't supposed to update these da
fmenozzi 2016/07/12 15:15:23 I added this file with the original Lua scripting
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -12,12 +12,12 @@ def create_database(inpath, outpath):
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");
« tools/lua/gradients.lua ('K') | « tools/lua/gradients.lua ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698