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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-text.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-collapsed-border-change-with-text.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-text.html b/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-text.html
index d433a82b9dd48b7f952de24d8b539dc217ee0dec..7363ef893599e2d756d49cf3bfba15ec46c71cb9 100644
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-text.html
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-text.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; font-size: 3px; }</style>
<script>
function createTable(rows, columns) {
@@ -26,7 +27,7 @@ document.body.appendChild(table);
var ix = 30;
var iy = 30;
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
table.childNodes[iy].childNodes[ix].style.borderColor = "red";
ix++;

Powered by Google App Engine
This is Rietveld 408576698