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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-backgrounds.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-backgrounds.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-backgrounds.html b/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-backgrounds.html
index 9fb6f32165f459713272f3c1fd3c4cd8539a6aa8..17748997c5b8266f08f2572df7eb5a162ba4dcb2 100644
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-backgrounds.html
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-collapsed-border-change-with-backgrounds.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) {
@@ -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