[webkit-changes] [WebKit/WebKit] 18df15: DocumentFragment::parseHTML() should take contextE...
Chris Dumez
noreply at github.com
Thu Mar 2 22:42:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 18df156da7d2c4891b46639ca8f2f3a1b36bd6f4
https://github.com/WebKit/WebKit/commit/18df156da7d2c4891b46639ca8f2f3a1b36bd6f4
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M Source/WebCore/dom/DocumentFragment.cpp
M Source/WebCore/dom/DocumentFragment.h
M Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm
M Source/WebCore/editing/markup.cpp
M Source/WebCore/inspector/DOMPatchSupport.cpp
Log Message:
-----------
DocumentFragment::parseHTML() should take contextElement by reference
https://bugs.webkit.org/show_bug.cgi?id=253260
Reviewed by Ryosuke Niwa.
DocumentFragment::parseHTML() should take contextElement by reference, instead
of taking a pointer and asserting that it is non-null.
* Source/WebCore/dom/DocumentFragment.cpp:
(WebCore::DocumentFragment::parseHTML):
* Source/WebCore/dom/DocumentFragment.h:
(WebCore::DocumentFragment::parseHTML):
* Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm:
(WebCore::createFragment):
* Source/WebCore/editing/markup.cpp:
(WebCore::createFragmentFromMarkup):
(WebCore::createFragmentForMarkup):
(WebCore::createFragmentForTransformToFragment):
* Source/WebCore/inspector/DOMPatchSupport.cpp:
Canonical link: https://commits.webkit.org/261117@main
More information about the webkit-changes
mailing list