Index: third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl |
index 8bdd58c2b5aa567a997b9cbead54cb3010f3506e..4ddb42c6c8cd12c9e6527200db055d5a5b372dda 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl |
@@ -45,12 +45,12 @@ void Settings::set{{setting.name|upper_first}}({{setting.type|to_passing_type}} |
void Settings::setFromStrings(const String& name, const String& value) \ |
{ \ |
{% for setting in settings %} |
- if (equalIgnoringCase(name, "{{setting.name}}")) { \ |
+ if (name == "{{setting.name}}") { \ |
set{{setting.name|upper_first}}( \ |
{% if setting.type == 'String' %} |
value \ |
{% elif setting.type == 'bool' %} |
- value.isEmpty() || equalIgnoringCase(value, "true") \ |
+ value.isEmpty() || value == "true" \ |
{% elif setting.type == 'int' %} |
value.toInt() \ |
{% elif setting.type == 'float' %} |