Remove document as a parameter from a few internals methods
[WebKit-https.git] / LayoutTests / editing / selection / caret-in-div-containing-br-in-vertical-mode.html
index 34aca3f..1c597f5 100644 (file)
@@ -16,11 +16,11 @@ function runTest() {
 
     document.getElementById('textDiv').focus();
     if (window.internals)
-        withTextCaretRect = internals.absoluteCaretBounds(document);
+        withTextCaretRect = internals.absoluteCaretBounds();
 
     document.getElementById('noTextDiv').focus();
     if (window.internals)
-        withoutTextCaretRect = internals.absoluteCaretBounds(document);
+        withoutTextCaretRect = internals.absoluteCaretBounds();
 
     if (window.internals) {
         shouldBe("withTextCaretRect.top", "withoutTextCaretRect.top");