LayoutBox::GetBackgroundPaintedExtent calls BackgroundImageGeometry::Calculate but just needs the dest rect |
|
Issue descriptionIn LayoutBox::GetBackgroundPaintedExtent a BackgroundImageGeometry object is created and then BackgroundImageGeometry::Calculate is called, that does a while lot of work related to tile sizes and phases etc. But all that LayoutBox needs is the destination rect size, which does not depend on all of those calculations, probably. Investigate if that is true and hence can be optimized. |
|
►
Sign in to add a comment |
|
Comment 1 by schenney@chromium.org
, Jun 27 2018