| Index: third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
|
| index d96d1c66e543bdeb8cd738f0a64ae7a0299c4f2d..4e83137d10818a6d17bcfb447d17908cafca531c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
|
| @@ -264,7 +264,7 @@ UI.ListWidget.Editor = class {
|
| this._contentElement = this.element.createChild('div', 'editor-content');
|
|
|
| var buttonsRow = this.element.createChild('div', 'editor-buttons');
|
| - this._commitButton = UI.createTextButton('', this._commitClicked.bind(this));
|
| + this._commitButton = UI.createTextButton('', this._commitClicked.bind(this), '', true /* primary */);
|
| buttonsRow.appendChild(this._commitButton);
|
| this._cancelButton = UI.createTextButton(Common.UIString('Cancel'), this._cancelClicked.bind(this));
|
| this._cancelButton.addEventListener(
|
| @@ -307,16 +307,6 @@ UI.ListWidget.Editor = class {
|
| return this._contentElement;
|
| }
|
|
|
| - /**
|
| - * @param {boolean} material
|
| - */
|
| - setMaterial(material) {
|
| - this._commitButton.classList.toggle('material-button', material);
|
| - this._commitButton.classList.toggle('default', material);
|
| - this._cancelButton.classList.toggle('material-button', material);
|
| - this.element.classList.toggle('material', material);
|
| - }
|
| -
|
| /**
|
| * @param {string} name
|
| * @param {string} type
|
|
|