Bug 1491387 - Remove NS_NewXULControllers(); r=baku

Differential Revision: https://phabricator.services.mozilla.com/D5927
This commit is contained in:
Ehsan Akhgari
2018-09-14 20:36:22 -04:00
parent 0cbe5ac45f
commit 73345c9cdc
6 changed files with 7 additions and 19 deletions

View File

@@ -623,7 +623,7 @@ HTMLTextAreaElement::GetControllers(ErrorResult& aError)
{
if (!mControllers)
{
mControllers = NS_NewXULControllers();
mControllers = new nsXULControllers();
if (!mControllers) {
aError.Throw(NS_ERROR_FAILURE);
return nullptr;