Title: [200791] trunk/Source/WebInspectorUI
- Revision
- 200791
- Author
- [email protected]
- Date
- 2016-05-12 15:06:57 -0700 (Thu, 12 May 2016)
Log Message
Web Inspector: Remove forced layouts caused by DOMTreeElement during Timeline recording
https://bugs.webkit.org/show_bug.cgi?id=157641
Patch by Joseph Pecoraro <[email protected]> on 2016-05-12
Reviewed by Timothy Hatcher.
* UserInterface/Views/DOMTreeElement.js:
(WebInspector.DOMTreeElement.prototype.updateSelection): Deleted.
This triggers forced layout and I could never actually get it to trigger anyways.
Its history is from the original import, so I don't know why it was added to begin with.
Just remove it.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (200790 => 200791)
--- trunk/Source/WebInspectorUI/ChangeLog 2016-05-12 21:52:46 UTC (rev 200790)
+++ trunk/Source/WebInspectorUI/ChangeLog 2016-05-12 22:06:57 UTC (rev 200791)
@@ -1,3 +1,16 @@
+2016-05-12 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Remove forced layouts caused by DOMTreeElement during Timeline recording
+ https://bugs.webkit.org/show_bug.cgi?id=157641
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/DOMTreeElement.js:
+ (WebInspector.DOMTreeElement.prototype.updateSelection): Deleted.
+ This triggers forced layout and I could never actually get it to trigger anyways.
+ Its history is from the original import, so I don't know why it was added to begin with.
+ Just remove it.
+
2016-05-12 Commit Queue <[email protected]>
Unreviewed, rolling out r200718.
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js (200790 => 200791)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js 2016-05-12 21:52:46 UTC (rev 200790)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js 2016-05-12 22:06:57 UTC (rev 200791)
@@ -271,12 +271,6 @@
if (!listItemElement)
return;
- if (document.body.offsetWidth <= 0) {
- // The stylesheet hasn't loaded yet or the window is closed,
- // so we can't calculate what is need. Return early.
- return;
- }
-
if (!this.selectionElement) {
this.selectionElement = document.createElement("div");
this.selectionElement.className = "selection selected";
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes