Summary: | Avoid a hash lookup in FilterInfo::remove() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | dino, sam, simon.fraser, thorton, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2017-08-07 16:22:35 PDT
Created attachment 317493 [details]
Patch
Comment on attachment 317493 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=317493&action=review > Source/WebCore/rendering/RenderLayerFilterInfo.cpp:75 > if (map().remove(&layer)) > layer.m_hasFilterInfo = false; Do you need to check the return value still? Seems like it will always return true now. |