Bug 1491387 - Remove NS_NewXULControllers(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5927
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user