RESOLVED FIXED 103645
[CoordinatedGraphics] Have LayerTreeRenderer::ensureLayer() return the layer
https://bugs.webkit.org/show_bug.cgi?id=103645
Summary [CoordinatedGraphics] Have LayerTreeRenderer::ensureLayer() return the layer
Chris Dumez
Reported 2012-11-29 09:15:41 PST
The current LayerTreeRenderer code keep calling ensureLayer() and then LayerMap::find() to retrieve the layer. Since ensureLayer() already has a pointer to the layer, we can simply have the function return it. This is slightly more efficient and it makes the code a bit simpler.
Attachments
Patch (4.23 KB, patch)
2012-11-29 09:19 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2012-11-29 09:19:07 PST
WebKit Review Bot
Comment 2 2012-11-29 10:18:41 PST
Comment on attachment 176747 [details] Patch Clearing flags on attachment: 176747 Committed r136139: <http://trac.webkit.org/changeset/136139>
WebKit Review Bot
Comment 3 2012-11-29 10:18:46 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.