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

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

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/templates/macros.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/macros.tmpl b/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
index 17a9f4952f510ce1664c028439103e7c6cf4fc56..fb593634082f4226f8fea87ca6b9f4a3189e6476 100644
--- a/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
@@ -14,7 +14,7 @@
if (
{%- for c in name -%}
{%- if lowercase_data -%}
- {{ " && " if not loop.first }}toASCIILower(data[{{index + loop.index0}}]) == '{{c}}'
+ {{ " && " if not loop.first }}ToASCIILower(data[{{index + loop.index0}}]) == '{{c}}'
{%- else -%}
{{ " && " if not loop.first }}data[{{index + loop.index0}}] == '{{c}}'
{%- endif -%}
@@ -33,7 +33,7 @@ return {{ return_macro(value) }};
{{ trie_leaf(index, trie, return_macro, lowercase_data) -}}
{% else %}
{% if lowercase_data %}
-switch (toASCIILower(data[{{index}}])) {
+switch (ToASCIILower(data[{{index}}])) {
{% else %}
switch (data[{{index}}]) {
{% endif %}

Powered by Google App Engine
This is Rietveld 408576698