| Index: third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| index 5b47b200935a9e0ee65f957569ff59162ed974fd..accb117c37b97b527503b9ee2d7891f209ac4276 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| @@ -231,7 +231,7 @@ String StyledMarkupSerializer<Strategy>::CreateMarkup() {
|
| *start_.ComputeContainerNode(), *end_.ComputeContainerNode());
|
| DCHECK(common_ancestor);
|
| HTMLBodyElement* body = toHTMLBodyElement(EnclosingElementWithTag(
|
| - Position::FirstPositionInNode(common_ancestor), bodyTag));
|
| + Position::FirstPositionInNode(*common_ancestor), bodyTag));
|
| HTMLBodyElement* fully_selected_root = nullptr;
|
| // FIXME: Do this for all fully selected blocks, not just the body.
|
| if (body && AreSameRanges(body, start_, end_))
|
|
|