Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7702)

Unified Diff: chrome/browser/resources/options/editable_text_field.js

Issue 780773002: Fix some closure compilation issues 8n order to update compiler.jar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll back *.jar Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');
« no previous file with comments | « chrome/browser/resources/options/deletable_item_list.js ('k') | chrome/browser/resources/options/password_manager_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698