| Summary: | Use RenderStyle& in more places in RenderLayerBacking | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
| Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Simon Fraser (smfr)
2014-05-18 22:09:28 PDT
Created attachment 231673 [details]
Patch
Comment on attachment 231673 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231673&action=review r=me > Source/WebCore/rendering/RenderLayerBacking.cpp:1519 > + const FillLayer* fillLayer = style.backgroundLayers(); Maybe we could make RenderStyle::backgroundLayers() return a FillLayer&, too. Then we'd get rid of even more ->'s. (In reply to comment #2) > (From update of attachment 231673 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=231673&action=review > > r=me > > > Source/WebCore/rendering/RenderLayerBacking.cpp:1519 > > + const FillLayer* fillLayer = style.backgroundLayers(); > > Maybe we could make RenderStyle::backgroundLayers() return a FillLayer&, too. > Then we'd get rid of even more ->'s. I don't think we can. It may not have any. |