mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +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);
|
MOZ_ASSERT(aNode);
|
||||||
if (!aNode->IsHTMLElement(nsGkAtoms::br)) {
|
if (!aNode->IsHTMLElement(nsGkAtoms::br)) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -928,7 +928,7 @@ class HTMLEditor final : public TextEditor,
|
|||||||
/**
|
/**
|
||||||
* Small utility routine to test if a break node is visible to user.
|
* 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.
|
* Helper routines for font size changing.
|
||||||
|
Loading…
Reference in New Issue
Block a user