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

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

Issue 2678623002: DevTools: pass title when creating settings (Closed)
Patch Set: a 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..aa45a0da74472372bc66d9b7761a291eaeb8a7bc 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,8 @@ 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')));
pfeldman 2017/02/07 20:10:28 For example, here you want a shortcut.
luoe 2017/02/13 06:27:20 Done.
return debugToolbar;
}

Powered by Google App Engine
This is Rietveld 408576698