| Index: third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp b/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| index 3ebb888cbe680f60810a72cc801b2e8e80ab31b4..1917b43d5a586d530e55eab0dddd1bf73237ee85 100644
|
| --- a/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| @@ -59,7 +59,7 @@ String contentAfterPastingHTML(DummyPageHolder* pageHolder,
|
| body->setAttribute(HTMLNames::contenteditableAttr, "true");
|
| frame.document()->updateStyleAndLayout();
|
| frame.selection().setSelection(
|
| - VisibleSelection::selectionFromContentsOfNode(body));
|
| + SelectionInDOMTree::Builder().selectAllChildren(*body).build());
|
| EXPECT_EQ(CaretSelection, frame.selection().getSelectionType());
|
| EXPECT_TRUE(frame.selection().isContentEditable())
|
| << "We should be pasting into something editable.";
|
|
|