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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/CSSOMKeywords.cpp.tmpl

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/templates/CSSOMKeywords.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSOMKeywords.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSOMKeywords.cpp.tmpl
index 7762728502929912e8498dde64eb7fcc67a4363c..f865a43e9902df1e134f7331cd7480e430192a63 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSOMKeywords.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSOMKeywords.cpp.tmpl
@@ -23,7 +23,7 @@ KeywordTable createKeywordTable() {
{% for keywordValueID in property.keywordIDs %}
{{property.lower_camel_name}}Keywords.push_back({{keywordValueID}});
{% endfor %}
- table.set({{property_id}}, {{property.lower_camel_name}}Keywords);
+ table.Set({{property_id}}, {{property.lower_camel_name}}Keywords);
}
{% endfor %}
return table;
@@ -36,9 +36,9 @@ KeywordTable& keywordTable() {
} // namespace
-bool CSSOMKeywords::validKeywordForProperty(CSSPropertyID id,
+bool CSSOMKeywords::ValidKeywordForProperty(CSSPropertyID id,
const CSSKeywordValue& keyword) {
- CSSValueID valueID = keyword.keywordValueID();
+ CSSValueID valueID = keyword.KeywordValueID();
if (valueID == CSSValueInvalid) {
return false;
}
@@ -49,12 +49,12 @@ bool CSSOMKeywords::validKeywordForProperty(CSSPropertyID id,
return true;
}
- const KeywordTable::iterator tableIterator = keywordTable().find(id);
+ const KeywordTable::iterator tableIterator = keywordTable().Find(id);
if (tableIterator == keywordTable().end()) {
return false;
}
- return tableIterator->value.contains(valueID);
+ return tableIterator->value.Contains(valueID);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698