diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp
index 6aa11688039..7ea4903863f 100644
--- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp
+++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp
@@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
case eHTMLTag_textarea:
{
const nsString& content = aNode.GetSkippedContent();
- nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
+ rv = NS_NewHTMLTextArea(aResult, atom, aForm);
if (NS_OK == rv) {
// If the text area has some content, give it to it now
if (content.Length() > 0) {
diff --git a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
index 6aa11688039..7ea4903863f 100644
--- a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
+++ b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
@@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode,
case eHTMLTag_textarea:
{
const nsString& content = aNode.GetSkippedContent();
- nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm);
+ rv = NS_NewHTMLTextArea(aResult, atom, aForm);
if (NS_OK == rv) {
// If the text area has some content, give it to it now
if (content.Length() > 0) {