Title: [187574] trunk/Source/WebCore
- Revision
- 187574
- Author
- cdu...@apple.com
- Date
- 2015-07-29 20:04:45 -0700 (Wed, 29 Jul 2015)
Log Message
Make TextLayout fast allocated
https://bugs.webkit.org/show_bug.cgi?id=147428
Reviewed by Simon Fraser.
Make TextLayout fast allocated as it is allocated frequently and on the
heap.
* platform/graphics/mac/ComplexTextController.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (187573 => 187574)
--- trunk/Source/WebCore/ChangeLog 2015-07-30 02:54:45 UTC (rev 187573)
+++ trunk/Source/WebCore/ChangeLog 2015-07-30 03:04:45 UTC (rev 187574)
@@ -1,3 +1,15 @@
+2015-07-29 Chris Dumez <cdu...@apple.com>
+
+ Make TextLayout fast allocated
+ https://bugs.webkit.org/show_bug.cgi?id=147428
+
+ Reviewed by Simon Fraser.
+
+ Make TextLayout fast allocated as it is allocated frequently and on the
+ heap.
+
+ * platform/graphics/mac/ComplexTextController.cpp:
+
2015-07-29 Myles C. Maxfield <mmaxfi...@apple.com>
Fix iOS build
Modified: trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp (187573 => 187574)
--- trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp 2015-07-30 02:54:45 UTC (rev 187573)
+++ trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp 2015-07-30 03:04:45 UTC (rev 187574)
@@ -46,6 +46,7 @@
namespace WebCore {
class TextLayout {
+ WTF_MAKE_FAST_ALLOCATED;
public:
static bool isNeeded(RenderText& text, const FontCascade& font)
{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes