Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html

Issue 2883603002: Use the new tracing based measurement for blink_perf.paint (Closed)
Patch Set: - Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html b/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html
index 448b3c331cb36a607846973de1704d43bffed42d..d18db3fc608cb0eda2a72ea5d8e3a4ec601e04f7 100644
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-invisible-collapsed-borders.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<script>
function createTable(rows, columns) {
var table = document.createElement("TABLE");
@@ -24,7 +25,7 @@ document.body.appendChild(table);
var ix = 30;
var iy = 30;
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
table.childNodes[iy].childNodes[ix].style.backgroundColor = 'teal';
ix++;

Powered by Google App Engine
This is Rietveld 408576698