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

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

Issue 2927573004: DevTools: migrate StylesSidebarPane to shadow (Closed)
Patch Set: with similarity 10 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/elements/ElementsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
index 6844eaf2d8a0520bbb46dd6c083e64063eb2a5a1..5676b094e64cf7e07746b2533d7499abf1f874b7 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
@@ -5,11 +5,8 @@
* @unrestricted
*/
Elements.ElementsSidebarPane = class extends UI.VBox {
- /**
- * @param {boolean=} isWebComponent
- */
- constructor(isWebComponent) {
- super(isWebComponent);
+ constructor() {
+ super(true);
this.element.classList.add('flex-none');
this._computedStyleModel = new Elements.ComputedStyleModel();
this._computedStyleModel.addEventListener(

Powered by Google App Engine
This is Rietveld 408576698