| Index: Source/core/dom/DocumentInit.cpp
|
| diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp
|
| index 3d120189f645a3df6f09a462cf311bf91a214447..f1dfd0fed69c887d3a78fc4416938ebfae314823 100644
|
| --- a/Source/core/dom/DocumentInit.cpp
|
| +++ b/Source/core/dom/DocumentInit.cpp
|
| @@ -142,7 +142,7 @@ DocumentInit& DocumentInit::withNewRegistrationContext()
|
| PassRefPtr<CustomElementRegistrationContext> DocumentInit::registrationContext(Document* document) const
|
| {
|
| if (!document->isHTMLDocument() && !document->isXHTMLDocument())
|
| - return 0;
|
| + return nullptr;
|
|
|
| if (m_createNewRegistrationContext)
|
| return CustomElementRegistrationContext::create();
|
|
|