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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.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/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index 735887aa67d97d82174581074e204ad3e213fafe..05418f815f887ceb79897de28f999820b5f58745 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -625,9 +625,9 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame {
labelElement.createTextChild(
Common.UIString('The breakpoint on line %d will stop only if this expression is true:', lineNumber + 1));
- var editorElement = conditionElement.createChild('input', 'monospace');
+ var editorElement = UI.createInput('monospace', 'text');
+ conditionElement.appendChild(editorElement);
editorElement.id = 'source-frame-breakpoint-condition';
- editorElement.type = 'text';
this._conditionEditorElement = editorElement;
return conditionElement;

Powered by Google App Engine
This is Rietveld 408576698