Index: third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
diff --git a/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js b/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
index d44f417b258c06a0f2d196af2b56e0e7a6265ced..e82d6ab8c81f6f675b7916b6189277e39728b27c 100644 |
--- a/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
+++ b/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-DocumentType.js |
@@ -3,7 +3,7 @@ description("Test to check if setBaseAndExtent guard node with null owner docume |
var sel = window.getSelection(); |
var docType = document.implementation.createDocumentType('c', null, null); |
-sel.setBaseAndExtent(docType); |
+sel.setBaseAndExtent(docType, 0, null, 0); |
shouldBeNull("sel.anchorNode"); |
sel.setBaseAndExtent(null, 0, docType, 0); |