Index: client/dom/scripts/systemnative.py |
diff --git a/client/dom/scripts/systemnative.py b/client/dom/scripts/systemnative.py |
index ae75dbcd8e242f543647c188a025c78718820206..a2a83bd2e4ad1770e687f249e98bc643e2da26c7 100644 |
--- a/client/dom/scripts/systemnative.py |
+++ b/client/dom/scripts/systemnative.py |
@@ -678,7 +678,7 @@ class NativeImplementationGenerator(systemwrapping.WrappingInterfaceGenerator): |
self._cpp_impl_includes[include_name] = 1 |
flags = '' |
if (idl_argument.ext_attrs.get('Optional') == 'DefaultIsNullString' or |
- ('Optional' in idl_argument.ext_attrs and 'Callback' in idl_argument.ext_attrs)): |
+ 'RequiredCppParameter' in idl_argument.ext_attrs): |
flags = ', DartUtilities::ConvertNullToDefaultValue' |
emitter.Emit( |
'\n' |