Skip to content

Commit 327ef6c

Browse files
committed
Convert classes in extensions.js to JS class syntax, deprecating Utilities.createClass()
and Utilities.createSubclass(). Make Utilities a class with all static functions. Use arrow functions in a few places.
1 parent 711326c commit 327ef6c

File tree

6 files changed

+175
-168
lines changed

6 files changed

+175
-168
lines changed

MotionMark/resources/debug-runner/graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Utilities.extendObject(window.benchmarkController, {
3737
var margins = new Insets(30, 30, 50, 40);
3838
// Note that changes to header content (in onGraphTypeChanged()) can change the available size, so we prepopulate
3939
// "score" and "confidence" elements with non-breaking spaces in the HTML.
40-
var size = Point.elementClientSize(element);
40+
var size = GeometryHelpers.elementClientSize(element);
4141

4242
// Convert from compact JSON output to propertied data
4343
var samplesWithProperties = {};

0 commit comments

Comments
 (0)