| 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 60677760d3ee31c5dcba3633a73d13e341bb2fe6..c21f1b65b4465418fc796c59f930e24e84aea64b 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/SettingsMacros.h.tmpl
|
| @@ -22,11 +22,11 @@
|
| // End of SETTINGS_MEMBER_VARIABLES.
|
|
|
| #define SETTINGS_INITIALIZER_LIST \
|
| - {% for setting in settings if setting.initial and setting.type != 'bool' %}
|
| + {% for setting in settings if setting.initial is not none and setting.type != 'bool' %}
|
| , m_{{setting.name}}({{setting.initial}}) \
|
| {% endfor %}
|
| - {% for setting in settings if setting.initial and setting.type == 'bool' %}
|
| - , m_{{setting.name}}({{setting.initial}}) \
|
| + {% for setting in settings if setting.initial is not none and setting.type == 'bool' %}
|
| + , m_{{setting.name}}({{setting.initial|cpp_bool}}) \
|
| {% endfor %}
|
| // End of SETTINGS_INITIALIZER_LIST.
|
|
|
|
|