| 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 a435425f899b7a2fefafb5a47f628148388b982f..70ceccb8faae8e9a642a83227403b0b1704061ae 100644
|
| --- a/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp
|
| @@ -60,7 +60,10 @@ String contentAfterPastingHTML(DummyPageHolder* pageHolder,
|
| frame.document()->updateStyleAndLayout();
|
| frame.selection().setSelection(
|
| SelectionInDOMTree::Builder().selectAllChildren(*body).build());
|
| - EXPECT_EQ(CaretSelection, frame.selection().getSelectionType());
|
| + EXPECT_EQ(CaretSelection,
|
| + frame.selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .getSelectionType());
|
| EXPECT_TRUE(frame.selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
| .isContentEditable())
|
|
|