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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
Index: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
index 71c4efc6f4d8282e88dd95e3f3f411ddabad2c52..96546ca5997a2afb3e2acca7b2a127954d50af84 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
@@ -77,7 +77,7 @@ struct Value;
%%define class-name %(class_name)sHash
%%define lookup-function-name findValueImpl
%%define hash-function-name value_hash_function
-%%define slot-name nameOffset
+%%define slot-name name_offset
%%define word-array-name value_word_list
%%pic
%%enum
@@ -89,7 +89,7 @@ struct Value;
#pragma clang diagnostic pop
#endif
-const Value* findValue(const char* str, unsigned int len) {
+const Value* FindValue(const char* str, unsigned int len) {
return CSSValueKeywordsHash::findValueImpl(str, len);
}
@@ -101,9 +101,9 @@ const char* getValueName(CSSValueID id) {
bool isValueAllowedInMode(unsigned short id, CSSParserMode mode) {
switch (id) {
%(ua_sheet_mode_values_keywords)s
- return isUASheetBehavior(mode);
+ return IsUASheetBehavior(mode);
%(quirks_mode_or_ua_sheet_mode_values_keywords)s
- return isUASheetBehavior(mode) || isQuirksModeBehavior(mode);
+ return IsUASheetBehavior(mode) || IsQuirksModeBehavior(mode);
default:
return true;
}

Powered by Google App Engine
This is Rietveld 408576698