Index: Source/build/scripts/templates/EventFactory.cpp.tmpl |
diff --git a/Source/build/scripts/templates/EventFactory.cpp.tmpl b/Source/build/scripts/templates/EventFactory.cpp.tmpl |
index 54150d2a9585b7b7cef10b969f1a28d6d653010c..127a1ea524264eb2fbdccfa82b6a7000c03aed06 100644 |
--- a/Source/build/scripts/templates/EventFactory.cpp.tmpl |
+++ b/Source/build/scripts/templates/EventFactory.cpp.tmpl |
@@ -17,7 +17,7 @@ PassRefPtr<{{namespace}}> {{namespace}}Factory::create(const String& type) |
return {{event|cpp_name}}::create(); |
{%- endcall %} |
{%- endfor %} |
- return 0; |
+ return nullptr; |
} |
} // namespace WebCore |