Index: third_party/WebKit/PerformanceTests/Paint/appending-text.html |
diff --git a/third_party/WebKit/PerformanceTests/Paint/appending-text.html b/third_party/WebKit/PerformanceTests/Paint/appending-text.html |
index 6295a74e8673591536a951a1ccc30f8a3a5e11ed..5cd54bb7eb5a808143aa5d5925ec42fb55a52cf7 100644 |
--- a/third_party/WebKit/PerformanceTests/Paint/appending-text.html |
+++ b/third_party/WebKit/PerformanceTests/Paint/appending-text.html |
@@ -1,6 +1,7 @@ |
<!DOCTYPE html> |
<body> |
<script src="../resources/runner.js"></script> |
+<script src="resources/paint.js"></script> |
<div id="container"></div> |
<script> |
// This test measures the lifecycle update performance when adding small |
@@ -12,7 +13,7 @@ for (var i = 0; i < initialTextCount; i++) |
initialText += '<span>a</span>'; |
var textToAppendEachRun = 5; |
-PerfTestRunner.measureFrameTime({ |
+measurePaint({ |
run: function() { |
var text = document.createElement('span'); |
text.innerText = 'abc'; |