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

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

Issue 2678623002: DevTools: pass title when creating settings (Closed)
Patch Set: ac Created 3 years, 10 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/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index 3be12c069bb5b90938221dc5d991db779cf8b996..6b477d62f39d0f4744ffa42f94a23b9602f223b9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -692,9 +692,9 @@ Sources.SourcesPanel = class extends UI.Panel {
debugToolbar.appendToolbarItem(this._pauseOnExceptionButton);
debugToolbar.appendSeparator();
- debugToolbar.appendToolbarItem(new UI.ToolbarCheckbox(
- Common.UIString('Async'), Common.UIString('Capture async stack traces'),
- Common.moduleSetting('enableAsyncStackTraces')));
+ debugToolbar.appendToolbarItem(new UI.ToolbarSettingCheckbox(
+ Common.moduleSetting('enableAsyncStackTraces'), Common.UIString('Capture async stack traces'),
+ Common.UIString('Async')));
return debugToolbar;
}

Powered by Google App Engine
This is Rietveld 408576698