DescriptionLet AreVisibleResourcesReady return correct value for PictureImageLayerImpl
AreVisibleResourcesReady didn't return correct value because
PictureLayerImpl::raster_source_scale_ didn't reflect the actual value for
PictureImageLayerImpl. In this CL raster_contents_scale_ and
low_res_raster_contents_scale_ are stored in PictureLayerImpl.
BTW extracted the code to determine if raster scale needs to be adjusted
into ShouldAdjustRasterScale().
BUG=223201
TEST=PictureImageLayerImplTest.*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190621
Patch Set 1 : #
Total comments: 5
Patch Set 2 : Keep source scales; New ShouldAdjustRasterScale #
Total comments: 6
Patch Set 3 : Fix nits #
Messages
Total messages: 19 (0 generated)
|