Index: third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html b/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html |
index 98202d4fa3d5d985412c39a70368c04ca5b3d6f4..5154f54f088bd095dfdebc577d13a84a82b6691f 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html |
+++ b/third_party/WebKit/LayoutTests/inspector/components/viewport-datagrid.html |
@@ -140,20 +140,20 @@ function test() |
var xn = new DataGrid.ViewportDataGridNode({id: "x" + i}); |
root.appendChild(xn); |
if (i + 1 === 500) { |
- dataGrid.updateInstantlyForTests(); |
+ dataGrid.updateInstantly(); |
xn.revealAndSelect(); |
xn.refresh(); |
} |
} |
root.removeChildren(); |
- dataGrid.updateInstantlyForTests(); |
+ dataGrid.updateInstantly(); |
// The below should not crash either. |
for (var i = 0; i < 40; ++i) { |
var xn = new DataGrid.ViewportDataGridNode({id: "x" + i}); |
root.appendChild(xn); |
} |
- dataGrid.updateInstantlyForTests(); |
+ dataGrid.updateInstantly(); |
dataGrid.setStickToBottom(false); |
var children = root.children.slice(); |
root.removeChildren(); |
@@ -163,7 +163,7 @@ function test() |
children[i].refresh(); |
root.appendChild(children[i]); |
} |
- dataGrid.updateInstantlyForTests(); |
+ dataGrid.updateInstantly(); |
InspectorTest.completeTest(); |
} |
</script> |