| Index: third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..84c47ab961f6b0e3f8947cac6fb4b66b8621b613
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl
|
| @@ -0,0 +1,8 @@
|
| +{% macro decl_methods(field) %}
|
| +bool {{field.getter_method_name}}() const {
|
| + return {{field.name}};
|
| +}
|
| +void {{field.setter_method_name}}() {
|
| + {{field.name}} = static_cast<unsigned>(true);
|
| +}
|
| +{% endmacro %}
|
|
|