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

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

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 months 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 b895613007ea11c3690faef530b596dd528dc297..4be9f4b95ee46b9ee9b4378ac1d1316bc055fe23 100644
--- a/chrome/browser/resources/options/editable_text_field.js
+++ b/chrome/browser/resources/options/editable_text_field.js
@@ -222,15 +222,15 @@ cr.define('options', function() {
var container = this.ownerDocument.createElement('div');
- var textEl = /** @type {HTMLElement} */(
- this.ownerDocument.createElement('div'));
+ var textEl =
+ /** @type {HTMLElement} */ (this.ownerDocument.createElement('div'));
textEl.className = 'static-text';
textEl.textContent = text;
textEl.setAttribute('displaymode', 'static');
this.appendChild(textEl);
this.staticText_ = textEl;
- var inputEl = /** @type {HTMLElement} */(
+ var inputEl = /** @type {HTMLElement} */ (
this.ownerDocument.createElement('input'));
inputEl.className = 'editable-text';
inputEl.type = 'text';

Powered by Google App Engine
This is Rietveld 408576698