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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.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/elements/ComputedStyleWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
index b9b8b20ef2e82e01ea3b931b947cd4f6757fac2d..66c1b538bbab8201e432231a366d9edbbc814c65 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
@@ -54,8 +54,8 @@ Elements.ComputedStyleWidget = class extends UI.ThrottledWidget {
filterContainerElement.appendChild(filterInput);
var toolbar = new UI.Toolbar('styles-pane-toolbar', hbox);
- toolbar.appendToolbarItem(new UI.ToolbarCheckbox(
- Common.UIString('Show all'), undefined, this._showInheritedComputedStylePropertiesSetting));
+ toolbar.appendToolbarItem(
+ new UI.ToolbarSettingCheckbox(this._showInheritedComputedStylePropertiesSetting, Common.UIString('Show all')));
this._propertiesOutline = new UI.TreeOutlineInShadow();
this._propertiesOutline.hideOverflow();

Powered by Google App Engine
This is Rietveld 408576698