mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901269 - Part a: Move HTMLOutputElement::GetValue out of line; r=dzbarsky
This commit is contained in:
parent
f5eab3d0da
commit
516babf1cb
@ -5,12 +5,13 @@
|
||||
|
||||
#include "mozilla/dom/HTMLOutputElement.h"
|
||||
|
||||
#include "mozilla/dom/HTMLOutputElementBinding.h"
|
||||
#include "nsFormSubmission.h"
|
||||
#include "nsDOMSettableTokenList.h"
|
||||
#include "nsEventStates.h"
|
||||
#include "mozAutoDocUpdate.h"
|
||||
#include "mozilla/dom/HTMLFormElement.h"
|
||||
#include "mozilla/dom/HTMLOutputElementBinding.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsDOMSettableTokenList.h"
|
||||
#include "nsEventStates.h"
|
||||
#include "nsFormSubmission.h"
|
||||
|
||||
NS_IMPL_NS_NEW_HTML_ELEMENT(Output)
|
||||
|
||||
@ -140,6 +141,12 @@ HTMLOutputElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
return rv;
|
||||
}
|
||||
|
||||
void
|
||||
HTMLOutputElement::GetValue(nsAString& aValue)
|
||||
{
|
||||
nsContentUtils::GetNodeTextContent(this, true, aValue);
|
||||
}
|
||||
|
||||
void
|
||||
HTMLOutputElement::SetValue(const nsAString& aValue, ErrorResult& aRv)
|
||||
{
|
||||
|
@ -86,11 +86,7 @@ public:
|
||||
|
||||
void SetDefaultValue(const nsAString& aDefaultValue, ErrorResult& aRv);
|
||||
|
||||
void GetValue(nsAString& aValue)
|
||||
{
|
||||
nsContentUtils::GetNodeTextContent(this, true, aValue);
|
||||
}
|
||||
|
||||
void GetValue(nsAString& aValue);
|
||||
void SetValue(const nsAString& aValue, ErrorResult& aRv);
|
||||
|
||||
// nsIConstraintValidation::WillValidate is fine.
|
||||
|
Loading…
Reference in New Issue
Block a user