Index: chrome/browser/resources/options/editable_text_field.js |
diff --git a/chrome/browser/resources/options/editable_text_field.js b/chrome/browser/resources/options/editable_text_field.js |
index c1f51a6892552f347680e1a46d24a73827f42c80..9c04b62da7cafc6c6a431326e4137f6f9d44f0b6 100644 |
--- a/chrome/browser/resources/options/editable_text_field.js |
+++ b/chrome/browser/resources/options/editable_text_field.js |
@@ -9,15 +9,6 @@ cr.define('options', function() { |
*/ |
var EditableTextField = cr.ui.define('div'); |
- /** |
- * Decorates an element as an editable text field. |
- * @param {!HTMLElement} el The element to decorate. |
- */ |
- EditableTextField.decorate = function(el) { |
- el.__proto__ = EditableTextField.prototype; |
- el.decorate(); |
- }; |
- |
EditableTextField.prototype = { |
__proto__: HTMLDivElement.prototype, |
@@ -50,7 +41,7 @@ cr.define('options', function() { |
*/ |
editCanceled_: true, |
- /** @override */ |
+ /** @protected */ |
decorate: function() { |
this.classList.add('editable-text-field'); |