| Index: third_party/WebKit/PerformanceTests/Paint/resources/paint.js
|
| diff --git a/third_party/WebKit/PerformanceTests/Paint/resources/paint.js b/third_party/WebKit/PerformanceTests/Paint/resources/paint.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2253b5a92cbc55f73f1527d24b6ebe6f6b68283d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/PerformanceTests/Paint/resources/paint.js
|
| @@ -0,0 +1,9 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +function measurePaint(test) {
|
| + test.tracingCategories = 'blink';
|
| + test.traceEventsToMeasure = ['FrameView::prePaint', 'FrameView::paintTree'];
|
| + PerfTestRunner.measureFrameTime(test);
|
| +}
|
|
|