RESOLVED FIXED 157690
Allocate MacGlyphToPathTranslator / CairoGlyphToPathTranslator on the stack
https://bugs.webkit.org/show_bug.cgi?id=157690
Summary Allocate MacGlyphToPathTranslator / CairoGlyphToPathTranslator on the stack
Chris Dumez
Reported 2016-05-13 15:41:51 PDT
Make GlyphToPathTranslator fast allocated.
Attachments
Patch (1.24 KB, patch)
2016-05-13 15:44 PDT, Chris Dumez
no flags
Patch (7.17 KB, patch)
2016-05-13 16:04 PDT, Chris Dumez
mmaxfield: review+
Chris Dumez
Comment 1 2016-05-13 15:44:18 PDT
Chris Dumez
Comment 2 2016-05-13 15:46:38 PDT
Other plan, I think we can just stack allocate it.
Myles C. Maxfield
Comment 3 2016-05-13 15:55:39 PDT
The Cocoa ports only use the MacGlyphToPathTranslator, and it's only used in one function, and it isn't a very big object, so putting it on the stack is a better idea. I don't know why I put it on the stack originally (maybe I was just being dumb). The other ports may have other subclasses of the GlyphToPathTranslator - it would be good if we could apply the same treatment to them too.
Chris Dumez
Comment 4 2016-05-13 16:04:37 PDT
Myles C. Maxfield
Comment 5 2016-05-14 02:39:28 PDT
Comment on attachment 278884 [details] Patch r=me assuming you fix the red EWS bubbles
Chris Dumez
Comment 6 2016-05-14 09:53:15 PDT
Note You need to log in before you can comment on or make changes to this bug.