| Index: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
| index bf02c4e921063660c3dab572aa2b4d9dca6b0ea8..c91ae7830da91c647ce182dcd493d0556cfedf9c 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
|
| @@ -713,13 +713,6 @@ void replaceChildrenWithFragment(ContainerNode* container,
|
| return;
|
| }
|
|
|
| - // FIXME: This is wrong if containerNode->firstChild() has more than one ref!
|
| - if (containerNode->hasOneTextChild() && fragment->hasOneTextChild()) {
|
| - toText(containerNode->firstChild())
|
| - ->setData(toText(fragment->firstChild())->data());
|
| - return;
|
| - }
|
| -
|
| // FIXME: No need to replace the child it is a text node and its contents are
|
| // already == text.
|
| if (containerNode->hasOneChild()) {
|
|
|