RESOLVED FIXED Bug 131417
Factor tile coverage map into a class
https://bugs.webkit.org/show_bug.cgi?id=131417
Summary Factor tile coverage map into a class
Antti Koivisto
Reported 2014-04-08 19:56:00 PDT
Move the map code out from TileController
Attachments
patch (26.98 KB, patch)
2014-04-08 20:01 PDT, Antti Koivisto
no flags
make it build on release (26.86 KB, patch)
2014-04-08 20:18 PDT, Antti Koivisto
thorton: review+
Antti Koivisto
Comment 1 2014-04-08 20:01:07 PDT
Antti Koivisto
Comment 2 2014-04-08 20:18:48 PDT
Created attachment 228928 [details] make it build on release
Tim Horton
Comment 3 2014-04-08 21:31:40 PDT
Comment on attachment 228928 [details] make it build on release View in context: https://bugs.webkit.org/attachment.cgi?id=228928&action=review > Source/WebCore/platform/graphics/ca/mac/TileCoverageMap.mm:40 > + m_layer.get().setOpacity(0.75); .get(). is ugly; is there a better way?
Simon Fraser (smfr)
Comment 4 2014-04-08 21:38:23 PDT
Where is the announcement/documentation about Ref?
Antti Koivisto
Comment 5 2014-04-08 21:46:19 PDT
(In reply to comment #4) > Where is the announcement/documentation about Ref? Andreas?
Antti Koivisto
Comment 6 2014-04-08 21:51:11 PDT
(In reply to comment #3) > (From update of attachment 228928 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=228928&action=review > > > Source/WebCore/platform/graphics/ca/mac/TileCoverageMap.mm:40 > > + m_layer.get().setOpacity(0.75); > > .get(). is ugly; is there a better way? There is -> but I think the plan is to remove it as it implies pointer semantics while Ref is supposed to have reference semantics. There is no operator.() so we end up with get().
Antti Koivisto
Comment 7 2014-04-08 22:02:49 PDT
Note You need to log in before you can comment on or make changes to this bug.