| Index: third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
|
| index ced764eec9fc9c3cdade322039348535f1eb27d1..5c86dc138b03a40564bdf81e05d194f50c43b634 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/selectors/shadow-host-div-with-text.html
|
| @@ -28,9 +28,7 @@
|
| var span = root.querySelector('span');
|
|
|
| var selection = window.getSelection();
|
| - var range = document.createRange();
|
| - range.selectNodeContents(span);
|
| - selection.addRange(range);
|
| + selection.setBaseAndExtent(span.firstChild, 2, span.firstChild, 54);
|
| </script>
|
| </body>
|
| </html>
|
|
|