DescriptionAllow ImageBitmaps derived from HTMLImageElements to be evicted from RAM.
Since we were pre-cropping the HTMLImageElement before drawing, the
CachedImage::didDraw(Image) command exited early because the Image argument
was different from the image referenced in the CachedImage. This has been fixed
by not pre-cropping the image and allowing drawBitmapRectToRect to handle the
cropping.
TEST=manual
BUG=259947, 166658
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155805
Patch Set 1 #Patch Set 2 : Add test. #
Total comments: 3
Patch Set 3 : Add test cases. #
Total comments: 2
Patch Set 4 : Add comment explaining bitmap offset. #Patch Set 5 : Make destructor virtual. #
Messages
Total messages: 15 (0 generated)
|