Title: [210379] trunk/Source/WebInspectorUI
- Revision
- 210379
- Author
- [email protected]
- Date
- 2017-01-05 15:42:05 -0800 (Thu, 05 Jan 2017)
Log Message
Web Inspector: Remove unused delegate from VisualStyleSelectorSection
https://bugs.webkit.org/show_bug.cgi?id=166744
Patch by Joseph Pecoraro <[email protected]> on 2017-01-05
Reviewed by Alex Christensen.
* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel.prototype.initialLayout):
* UserInterface/Views/VisualStyleSelectorSection.js:
(WebInspector.VisualStyleSelectorSection):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (210378 => 210379)
--- trunk/Source/WebInspectorUI/ChangeLog 2017-01-05 23:37:16 UTC (rev 210378)
+++ trunk/Source/WebInspectorUI/ChangeLog 2017-01-05 23:42:05 UTC (rev 210379)
@@ -1,3 +1,15 @@
+2017-01-05 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Remove unused delegate from VisualStyleSelectorSection
+ https://bugs.webkit.org/show_bug.cgi?id=166744
+
+ Reviewed by Alex Christensen.
+
+ * UserInterface/Views/VisualStyleDetailsPanel.js:
+ (WebInspector.VisualStyleDetailsPanel.prototype.initialLayout):
+ * UserInterface/Views/VisualStyleSelectorSection.js:
+ (WebInspector.VisualStyleSelectorSection):
+
2017-01-04 Brian Burg <[email protected]>
Web Inspector: Test.html should support globals reportInternalError, reportUnhandledRejection, reportUncaughtException
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js (210378 => 210379)
--- trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js 2017-01-05 23:37:16 UTC (rev 210378)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js 2017-01-05 23:42:05 UTC (rev 210379)
@@ -73,7 +73,7 @@
initialLayout()
{
// Selector Section
- this._selectorSection = new WebInspector.VisualStyleSelectorSection(this);
+ this._selectorSection = new WebInspector.VisualStyleSelectorSection;
this._selectorSection.addEventListener(WebInspector.VisualStyleSelectorSection.Event.SelectorChanged, this._updateSections, this);
this.element.appendChild(this._selectorSection.element);
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleSelectorSection.js (210378 => 210379)
--- trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleSelectorSection.js 2017-01-05 23:37:16 UTC (rev 210378)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleSelectorSection.js 2017-01-05 23:42:05 UTC (rev 210379)
@@ -25,7 +25,7 @@
WebInspector.VisualStyleSelectorSection = class VisualStyleSelectorSection extends WebInspector.DetailsSection
{
- constructor(delegate)
+ constructor()
{
let selectorSection = {element: document.createElement("div")};
selectorSection.element.classList.add("selectors");
@@ -35,7 +35,6 @@
super("visual-style-selector-section", WebInspector.UIString("Style Rules"), [selectorSection], controlElement);
- this._delegate = delegate || null;
this._nodeStyles = null;
this._currentSelectorElement = document.createElement("div");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes