| Index: Source/core/editing/FormatBlockCommand.cpp
|
| diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp
|
| index 56a2629fc9ca84623d3e444da932299929ad0025..396970b383f1e8db6ef463d392d1eeb72b61eee1 100644
|
| --- a/Source/core/editing/FormatBlockCommand.cpp
|
| +++ b/Source/core/editing/FormatBlockCommand.cpp
|
| @@ -72,7 +72,7 @@ void FormatBlockCommand::formatRange(const Position& start, const Position& end,
|
| if (!root || !refNode)
|
| return;
|
| if (isElementForFormatBlock(refNode->tagQName()) && start == startOfBlock(start)
|
| - && (end == endOfBlock(end) || isNodeVisiblyContainedWithin(refNode.raw(), range))
|
| + && (end == endOfBlock(end) || isNodeVisiblyContainedWithin(refNode, range))
|
| && refNode != root && !root->isDescendantOf(refNode.raw())) {
|
| // Already in a block element that only contains the current paragraph
|
| if (refNode->hasTagName(tagName()))
|
| @@ -154,11 +154,11 @@ Result<Node> enclosingBlockToSplitTreeTo(const Handle<Node>& startNode)
|
| HandleScope scope;
|
| if (!n->rendererIsEditable())
|
| return lastBlock;
|
| - if (isTableCell(n.raw()) || n->hasTagName(bodyTag) || !n->parentNode() || !n->parentNode()->rendererIsEditable() || isElementForFormatBlock(n.raw()))
|
| + if (isTableCell(n) || n->hasTagName(bodyTag) || !n->parentNode() || !n->parentNode()->rendererIsEditable() || isElementForFormatBlock(n.raw()))
|
| return n;
|
| - if (isBlock(n.raw()))
|
| + if (isBlock(n))
|
| lastBlock = n;
|
| - if (isListElement(n.raw())) {
|
| + if (isListElement(n)) {
|
| if (n->parentNode()->rendererIsEditable())
|
| return n->parentNode();
|
| else
|
|
|