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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: ac 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: third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
index f2dbee6b981318ae2bd77d8538a685c6dc497349..2501152959ddd1671c475a6e474392380362adb2 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/AddSourceMapURLDialog.js
@@ -13,7 +13,8 @@ Sources.AddSourceMapURLDialog = class extends UI.HBox {
this.registerRequiredCSS('sources/dialog.css');
this.contentElement.createChild('label').textContent = Common.UIString('Source map URL: ');
- this._input = this.contentElement.createChild('input');
+ this._input = UI.createInput();
+ this.contentElement.appendChild(this._input);
this._input.setAttribute('type', 'text');
this._input.addEventListener('keydown', this._onKeyDown.bind(this), false);

Powered by Google App Engine
This is Rietveld 408576698