| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
DCHECK(image_->IsLoaded());Can this be:
`CHECK(image_->IsLoaded() || !image_->IsSVGImage());`
?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
DCHECK(image_->IsLoaded());Can this be:
`CHECK(image_->IsLoaded() || !image_->IsSVGImage());`
?
How about this change? I see the point of needing all the SVG to look at sub-resources/elements..
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
DCHECK(image_->IsLoaded());Stephen ChenneyCan this be:
`CHECK(image_->IsLoaded() || !image_->IsSVGImage());`
?
How about this change? I see the point of needing all the SVG to look at sub-resources/elements..
It's not clear to me whether it's valid to call this method with a not-fully-loaded SVG image, but I guess we can punt on that.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Remove IsLoaded check in IsAccessAllowed for style images
The check causes problem with progressively loaded content.
Access only depends on the URL, not the image content, so we
do not need it loaded.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |