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

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: Rebasing the fixes... Created 3 years, 10 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 f86922f76afad5f783c9b7826656c850b36aed58..1607e0aca902ffcebac7182d40dfe3b350eabee5 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
@@ -71,14 +71,14 @@ 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
%%%%
%(value_keyword_to_enum_map)s
%%%%
-const Value* findValue(register const char* str, register unsigned int len)
+const Value* FindValue(register const char* str, register unsigned int len)
{
return CSSValueKeywordsHash::findValueImpl(str, len);
}
@@ -93,9 +93,9 @@ 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