Bug 1800553 - part 2: Change HTMLAnchorElement::GetText to a const method r=smaug
This needs to change `nsContentUtils` methods because of used by the method. Then, we can make some there callers are also `const` methods. Depends on D162065 Differential Revision: https://phabricator.services.mozilla.com/D162066
This commit is contained in:
@@ -242,7 +242,7 @@ class HTMLTextAreaElement final : public TextControlElement,
|
||||
SetHTMLAttr(nsGkAtoms::wrap, aWrap, aError);
|
||||
}
|
||||
void GetType(nsAString& aType);
|
||||
void GetDefaultValue(nsAString& aDefaultValue, ErrorResult& aError);
|
||||
void GetDefaultValue(nsAString& aDefaultValue, ErrorResult& aError) const;
|
||||
void SetDefaultValue(const nsAString& aDefaultValue, ErrorResult& aError);
|
||||
void GetValue(nsAString& aValue);
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user