| Index: third_party/WebKit/Source/build/scripts/make_css_property_names.py
|
| diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_names.py b/third_party/WebKit/Source/build/scripts/make_css_property_names.py
|
| index 87d1d6a3060a47c7f23dd78dd61a03b8934e433a..0d297076198224b8174bde61a36a831bd6d42b1a 100755
|
| --- a/third_party/WebKit/Source/build/scripts/make_css_property_names.py
|
| +++ b/third_party/WebKit/Source/build/scripts/make_css_property_names.py
|
| @@ -115,13 +115,13 @@ struct Property;
|
| %%define class-name %(class_name)sHash
|
| %%define lookup-function-name findPropertyImpl
|
| %%define hash-function-name property_hash_function
|
| -%%define slot-name nameOffset
|
| +%%define slot-name name_offset
|
| %%define word-array-name property_word_list
|
| %%enum
|
| %%%%
|
| %(property_to_enum_map)s
|
| %%%%
|
| -const Property* findProperty(register const char* str, register unsigned int len)
|
| +const Property* FindProperty(register const char* str, register unsigned int len)
|
| {
|
| return %(class_name)sHash::findPropertyImpl(str, len);
|
| }
|
| @@ -139,7 +139,7 @@ const AtomicString& getPropertyNameAtomicString(CSSPropertyID id)
|
| int index = id - firstCSSProperty;
|
| static AtomicString* propertyStrings = new AtomicString[lastUnresolvedCSSProperty]; // Intentionally never destroyed.
|
| AtomicString& propertyString = propertyStrings[index];
|
| - if (propertyString.isNull())
|
| + if (propertyString.IsNull())
|
| propertyString = AtomicString(propertyNameStringsPool + propertyNameStringsOffsets[index]);
|
| return propertyString;
|
| }
|
| @@ -147,7 +147,7 @@ const AtomicString& getPropertyNameAtomicString(CSSPropertyID id)
|
| String getPropertyNameString(CSSPropertyID id)
|
| {
|
| // We share the StringImpl with the AtomicStrings.
|
| - return getPropertyNameAtomicString(id).getString();
|
| + return getPropertyNameAtomicString(id).GetString();
|
| }
|
|
|
| String getJSPropertyName(CSSPropertyID id)
|
| @@ -156,7 +156,7 @@ String getJSPropertyName(CSSPropertyID id)
|
| const char* cssPropertyName = getPropertyName(id);
|
| const char* propertyNamePointer = cssPropertyName;
|
| if (!propertyNamePointer)
|
| - return emptyString;
|
| + return g_empty_string;
|
|
|
| char* resultPointer = result;
|
| while (char character = *propertyNamePointer++) {
|
| @@ -164,7 +164,7 @@ String getJSPropertyName(CSSPropertyID id)
|
| char nextCharacter = *propertyNamePointer++;
|
| if (!nextCharacter)
|
| break;
|
| - character = (propertyNamePointer - 2 != cssPropertyName) ? toASCIIUpper(nextCharacter) : nextCharacter;
|
| + character = (propertyNamePointer - 2 != cssPropertyName) ? ToASCIIUpper(nextCharacter) : nextCharacter;
|
| }
|
| *resultPointer++ = character;
|
| }
|
|
|