Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
| index d952835790792d5407b3e3abc269ce4a9fd56e7b..9fc131773e58e4d5c2a8381404921c3ba0529922 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
| @@ -1152,16 +1152,13 @@ UI.registerCustomElement = function(localName, typeExtension, prototype) { |
| * @param {string} text |
| * @param {function(!Event)=} clickHandler |
| * @param {string=} className |
| - * @param {string=} title |
|
einbinder
2017/05/31 21:20:10
Not against this, just curious why remove title?
luoe
2017/05/31 21:42:50
I plan to add a 'primary' boolean param in the fol
|
| * @return {!Element} |
| */ |
| -UI.createTextButton = function(text, clickHandler, className, title) { |
| +UI.createTextButton = function(text, clickHandler, className) { |
| var element = createElementWithClass('button', className || '', 'text-button'); |
| element.textContent = text; |
| if (clickHandler) |
| element.addEventListener('click', clickHandler, false); |
| - if (title) |
| - element.title = title; |
| return element; |
| }; |