DescriptionRemove the pending container size requests list
Trust ImageResource::setContainerSizeForLayoutObject to be called
through ImageResource::notifyObservers when the image has loaded.
Given that, we will already get notifications about the up-to-date
containerSize and containerZoom and there is no need for keeping
around a list of pending container sizes and zooms to send when the
image is created.
As to why we can trust ImageResource::notifyObservers to call back
into ImageResource::setContainerSizeForLayoutObject,
https://codereview.chromium.org/22482004 added a
updateInnerContentRect() call taking care of calling
ImageResource::setContainerSizeForLayoutObject when the image's paint
has been invalidated.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194439
Patch Set 1 #Patch Set 2 : Remove now unused typedefs #Patch Set 3 : Remove now redundant virtual method #
Total comments: 2
Messages
Total messages: 8 (2 generated)
|