mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 1649121: part 15) Declare IsVisibleBRElement
const
. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82009
This commit is contained in:
parent
17833bb634
commit
f5d347f5a7
@ -877,7 +877,7 @@ void HTMLEditor::IsPrevCharInNodeWhiteSpace(nsIContent* aContent,
|
||||
}
|
||||
}
|
||||
|
||||
bool HTMLEditor::IsVisibleBRElement(const nsINode* aNode) {
|
||||
bool HTMLEditor::IsVisibleBRElement(const nsINode* aNode) const {
|
||||
MOZ_ASSERT(aNode);
|
||||
if (!aNode->IsHTMLElement(nsGkAtoms::br)) {
|
||||
return false;
|
||||
|
@ -928,7 +928,7 @@ class HTMLEditor final : public TextEditor,
|
||||
/**
|
||||
* Small utility routine to test if a break node is visible to user.
|
||||
*/
|
||||
bool IsVisibleBRElement(const nsINode* aNode);
|
||||
bool IsVisibleBRElement(const nsINode* aNode) const;
|
||||
|
||||
/**
|
||||
* Helper routines for font size changing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user