Index: third_party/WebKit/Source/devtools/front_end/audits/AuditLauncherView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditLauncherView.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditLauncherView.js |
index f573242e2c3469e68b069fda8c160fc4a57cf49e..6f1a58c99724fb1959db45cc0fa24735abd2f416 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditLauncherView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditLauncherView.js |
@@ -209,13 +209,12 @@ Audits.AuditLauncherView = class extends UI.VBox { |
* @param {string=} id |
*/ |
_createCategoryElement(title, id) { |
- var labelElement = UI.createCheckboxLabel(title); |
+ var labelElement = UI.CheckboxLabel.create(title); |
if (id) { |
labelElement.id = this._categoryIdPrefix + id; |
labelElement.checkboxElement.addEventListener('click', this._boundCategoryClickListener, false); |
} |
- labelElement.__displayName = title; |
- |
+ /** @type {!Object} */ (labelElement).__displayName = title; |
return labelElement; |
} |