Index: third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html |
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html b/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html |
index 766eab807a103400d3a8c402c2b67f2901be9835..ddb6a434dd431faee5a7ac1bcc439c2b52a0a485 100644 |
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html |
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html |
@@ -1,6 +1,7 @@ |
<!DOCTYPE html> |
<body> |
<script src="../resources/runner.js"></script> |
+<script src="resources/paint.js"></script> |
<style>td { border: 1px solid blue }</style> |
<script> |
function createTable(rows, columns) { |
@@ -23,7 +24,7 @@ var table = createTable(300, 320); |
table.style.border = '2px solid green'; |
document.body.appendChild(table); |
-PerfTestRunner.measureFrameTime({ |
+measurePaint({ |
run: function() { |
table.style.borderColor = table.style.borderColor == 'green' ? |
'yellow' : 'green'; |