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

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: 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/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 d8617410ef2a2d60d04bc411fb38fbe194db5427..0a0496d0efbeddd7f8c55f05475d7e3e44147894 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