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

Unified Diff: third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py

Issue 1938343002: Generate a series of nested switch statements to parse CSSPrimitiveValue units. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py b/third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py
index bd07ff1958f4f97b6d39b8477270a1cb49c8045a..ddd804da74f3fe41927c12b94b8a07553cedeca3 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_primitive_value_unit_trie.py
@@ -10,6 +10,7 @@ import trie_builder
import template_expander
+
class UnitTrieWriter(in_generator.Writer):
defaults = {
'unit_type': None
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698