Bug 1401706: Remove redundant UpdateValueDisplay call. r?bholley
This was just moved from the old code, but we always call that function in
CreateAnonymousContent, so no need to.
MozReview-Commit-ID: 1zqmQM2KdpW
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
--- a/layout/forms/nsTextControlFrame.cpp
+++ b/layout/forms/nsTextControlFrame.cpp
@@ -478,17 +478,17 @@ nsTextControlFrame::CreateRootNode()
classValue.AppendLiteral(" inherit-overflow");
}
classValue.AppendLiteral(" inherit-scroll-behavior");
}
nsresult rv = mRootNode->SetAttr(kNameSpaceID_None, nsGkAtoms::_class,
classValue, false);
NS_ENSURE_SUCCESS(rv, rv);
- return UpdateValueDisplay(false);
+ return NS_OK;
}
void
nsTextControlFrame::CreatePlaceholderIfNeeded()
{
MOZ_ASSERT(!mPlaceholderDiv);
// Do we need a placeholder node?