DescriptionRefactor code for <img> size calculation during attach
Based on the changes in revision 155294, the call to setImageSizeForAltText was being
done twice when the "src" changed between non-empty URL to a empty one . First by
RenderImageResource::setCachedImage and then follwed by a explicit call to
setImageSizeForAltText in attach. Added checks to avoid unnecessary call to
setImageSizeForAltText.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155583
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|