diff --git a/content/html/content/src/nsHTMLInputElement.cpp b/content/html/content/src/nsHTMLInputElement.cpp
index 86fe28f33fe4..b29d55261e2e 100644
--- a/content/html/content/src/nsHTMLInputElement.cpp
+++ b/content/html/content/src/nsHTMLInputElement.cpp
@@ -346,6 +346,7 @@ nsHTMLInputElement::SetValue(const nsString& aValue)
NS_RELEASE(formControlFrame);
}
}
+ return NS_OK;
}
NS_IMETHODIMP
diff --git a/layout/html/content/src/nsHTMLInputElement.cpp b/layout/html/content/src/nsHTMLInputElement.cpp
index 86fe28f33fe4..b29d55261e2e 100644
--- a/layout/html/content/src/nsHTMLInputElement.cpp
+++ b/layout/html/content/src/nsHTMLInputElement.cpp
@@ -346,6 +346,7 @@ nsHTMLInputElement::SetValue(const nsString& aValue)
NS_RELEASE(formControlFrame);
}
}
+ return NS_OK;
}
NS_IMETHODIMP