зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1640276 - Part 7: Mark nsINode as const in IsVisibleBRElement() r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D76570
This commit is contained in:
Родитель
c9c8185160
Коммит
bc670252a1
|
@ -858,7 +858,7 @@ void HTMLEditor::IsPrevCharInNodeWhitespace(nsIContent* aContent,
|
|||
}
|
||||
}
|
||||
|
||||
bool HTMLEditor::IsVisibleBRElement(nsINode* aNode) {
|
||||
bool HTMLEditor::IsVisibleBRElement(const nsINode* aNode) {
|
||||
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(nsINode* aNode);
|
||||
bool IsVisibleBRElement(const nsINode* aNode);
|
||||
|
||||
/**
|
||||
* Helper routines for font size changing.
|
||||
|
|
Загрузка…
Ссылка в новой задаче