Bug 1488628 - Change nsIConsoleMessage.message to an AString. r=erahm

This commit is contained in:
Nicholas Nethercote
2018-09-05 13:31:42 +10:00
parent fbab081b3c
commit 9c1c1b2c1d
7 changed files with 13 additions and 18 deletions

View File

@@ -516,7 +516,7 @@ ConsoleListener::Observe(nsIConsoleMessage* aMessage)
}
nsString msg;
nsresult rv = aMessage->GetMessageMoz(getter_Copies(msg));
nsresult rv = aMessage->GetMessageMoz(msg);
NS_ENSURE_SUCCESS(rv, rv);
mChild->SendConsoleMessage(msg);
return NS_OK;