| Index: third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js b/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js
|
| index 06312696051282c80aa02c4b0807aa838748054a..ca524b434dc9052b24bddb06796a5f0a2d4b421e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js
|
| @@ -57,7 +57,8 @@ Main.RenderingOptionsView = class extends UI.VBox {
|
| },
|
| {
|
| label: Common.UIString('Scrolling Performance Issues'),
|
| - subtitle: Common.UIString('Highlights elements (teal) that can slow down scrolling, including touch & wheel event handlers and other main-thread scrolling situations.'),
|
| + subtitle: Common.UIString(
|
| + 'Highlights elements (teal) that can slow down scrolling, including touch & wheel event handlers and other main-thread scrolling situations.'),
|
| setterName: 'setShowScrollBottleneckRects'
|
| }
|
| ];
|
| @@ -67,7 +68,7 @@ Main.RenderingOptionsView = class extends UI.VBox {
|
| this.contentElement.createChild('div').classList.add('panel-section-separator');
|
|
|
| var cssMediaSubtitle = Common.UIString('Forces media type for testing print and screen styles');
|
| - var checkboxLabel = createCheckboxLabel(Common.UIString('Emulate CSS Media'), false, cssMediaSubtitle);
|
| + var checkboxLabel = UI.createCheckboxLabel(Common.UIString('Emulate CSS Media'), false, cssMediaSubtitle);
|
| this._mediaCheckbox = checkboxLabel.checkboxElement;
|
| this._mediaCheckbox.addEventListener('click', this._mediaToggled.bind(this), false);
|
| this.contentElement.appendChild(checkboxLabel);
|
| @@ -97,7 +98,7 @@ Main.RenderingOptionsView = class extends UI.VBox {
|
| * @param {string=} subtitle
|
| */
|
| _appendCheckbox(label, setterName, subtitle) {
|
| - var checkboxLabel = createCheckboxLabel(label, false, subtitle);
|
| + var checkboxLabel = UI.createCheckboxLabel(label, false, subtitle);
|
| this._settings.set(setterName, checkboxLabel.checkboxElement);
|
| checkboxLabel.checkboxElement.addEventListener('click', this._settingToggled.bind(this, setterName));
|
| this.contentElement.appendChild(checkboxLabel);
|
|
|