Title: [233530] trunk/Source/WebCore
- Revision
- 233530
- Author
- [email protected]
- Date
- 2018-07-05 11:18:22 -0700 (Thu, 05 Jul 2018)
Log Message
SimpleLineLayout::FlowContents wastes 54KB of Vector capacity on nytimes.com
https://bugs.webkit.org/show_bug.cgi?id=186709
<rdar://problem/41173793>
Reviewed by Simon Fraser.
The size of the m_segments vector in SimpleLineLayoutFlowContents is alway pre-computed and don't change after the initial append.
Not testable.
* rendering/SimpleLineLayoutFlowContents.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (233529 => 233530)
--- trunk/Source/WebCore/ChangeLog 2018-07-05 17:52:33 UTC (rev 233529)
+++ trunk/Source/WebCore/ChangeLog 2018-07-05 18:18:22 UTC (rev 233530)
@@ -1,3 +1,17 @@
+2018-07-05 Zalan Bujtas <[email protected]>
+
+ SimpleLineLayout::FlowContents wastes 54KB of Vector capacity on nytimes.com
+ https://bugs.webkit.org/show_bug.cgi?id=186709
+ <rdar://problem/41173793>
+
+ Reviewed by Simon Fraser.
+
+ The size of the m_segments vector in SimpleLineLayoutFlowContents is alway pre-computed and don't change after the initial append.
+
+ Not testable.
+
+ * rendering/SimpleLineLayoutFlowContents.h:
+
2018-07-05 Nan Wang <[email protected]>
AX: setValue on text controls should send out key events
Modified: trunk/Source/WebCore/rendering/SimpleLineLayoutFlowContents.h (233529 => 233530)
--- trunk/Source/WebCore/rendering/SimpleLineLayoutFlowContents.h 2018-07-05 17:52:33 UTC (rev 233529)
+++ trunk/Source/WebCore/rendering/SimpleLineLayoutFlowContents.h 2018-07-05 18:18:22 UTC (rev 233530)
@@ -58,7 +58,7 @@
private:
unsigned segmentIndexForRunSlow(unsigned start, unsigned end) const;
- const Vector<Segment, 8> m_segments;
+ const Vector<Segment> m_segments;
mutable unsigned m_lastSegmentIndex { 0 };
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes