mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1649121: part 18) Declare CreateDOMFragmentFromPaste
const
. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82198
This commit is contained in:
parent
275edede6b
commit
1684d9040a
@ -4393,7 +4393,7 @@ class HTMLEditor final : public TextEditor,
|
||||
const nsAString& aInputString, const nsAString& aContextStr,
|
||||
const nsAString& aInfoStr, nsCOMPtr<nsINode>* aOutFragNode,
|
||||
nsCOMPtr<nsINode>* aOutStartNode, nsCOMPtr<nsINode>* aOutEndNode,
|
||||
int32_t* aOutStartOffset, int32_t* aOutEndOffset, bool aTrustedInput);
|
||||
int32_t* aOutStartOffset, int32_t* aOutEndOffset, bool aTrustedInput) const;
|
||||
static nsresult ParseFragment(const nsAString& aStr,
|
||||
nsAtom* aContextLocalName, Document* aTargetDoc,
|
||||
dom::DocumentFragment** aFragment,
|
||||
|
@ -2910,7 +2910,7 @@ nsresult HTMLEditor::CreateDOMFragmentFromPaste(
|
||||
const nsAString& aInputString, const nsAString& aContextStr,
|
||||
const nsAString& aInfoStr, nsCOMPtr<nsINode>* aOutFragNode,
|
||||
nsCOMPtr<nsINode>* aOutStartNode, nsCOMPtr<nsINode>* aOutEndNode,
|
||||
int32_t* aOutStartOffset, int32_t* aOutEndOffset, bool aTrustedInput) {
|
||||
int32_t* aOutStartOffset, int32_t* aOutEndOffset, bool aTrustedInput) const {
|
||||
if (NS_WARN_IF(!aOutFragNode) || NS_WARN_IF(!aOutStartNode) ||
|
||||
NS_WARN_IF(!aOutEndNode) || NS_WARN_IF(!aOutStartOffset) ||
|
||||
NS_WARN_IF(!aOutEndOffset)) {
|
||||
|
Loading…
Reference in New Issue
Block a user