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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/paint-offset-changes.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/paint-offset-changes.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/paint-offset-changes.html b/third_party/WebKit/PerformanceTests/Paint/paint-offset-changes.html
index 7bc9c8681a89afcf761e3ae0e1e5155cd0cb786f..4ce76481639b77e64bc9f64cc3ce5b0a2b19baa5 100644
--- a/third_party/WebKit/PerformanceTests/Paint/paint-offset-changes.html
+++ b/third_party/WebKit/PerformanceTests/Paint/paint-offset-changes.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<style>
.column {
width: 180px;
@@ -56,7 +57,7 @@ var changeFirstRowHeight = function(rowCount) {
}
var runCount = 0;
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
runCount++;
changeRowMargins(runCount);

Powered by Google App Engine
This is Rietveld 408576698