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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js

Issue 2979653004: DevTools: clean unused styles in Elements (Closed)
Patch Set: Created 3 years, 5 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/ElementsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
index 4b345275a7efb5fcca8d163f6fa8ce6ef7f9af42..4bed8ac88f7566039de81e17aba4aa6862c4bbeb 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
@@ -803,11 +803,11 @@ Elements.ElementsPanel = class extends UI.Panel {
splitWidget.setSidebarWidget(computedStylePanesWrapper);
} else {
// Styles and computed are in separate tabs.
- stylesView.element.classList.add('flex-auto', 'metrics-and-styles');
+ stylesView.element.classList.add('flex-auto');
matchedStylePanesWrapper.show(stylesView.element);
var computedView = new UI.SimpleView(Common.UIString('Computed'));
- computedView.element.classList.add('composite', 'fill', 'metrics-and-computed');
+ computedView.element.classList.add('composite', 'fill');
computedStylePanesWrapper.show(computedView.element);
tabbedPane.addEventListener(UI.TabbedPane.Events.TabSelected, tabSelected, this);

Powered by Google App Engine
This is Rietveld 408576698