DescriptionAvoid absoluteImageURL() creating data URLs for canvas by default.
This innocuous-looking call was changed in
https://codereview.chromium.org/255563004 to produce huge data URLs for
canvas elements. This caused a performance regression in Android
WebView which needs to report URLs of the last tapped element to the
embedding app. Switch absoluteImageURL() back to its previous behavior
of ignoring canvas elements, and introduce a new method
absoluteImageURLIncludingCanvasDataURL() that's only used in
WebViewImpl::saveImageAt and copyImageAt.
NOTRY=true
BUG=395859
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179888
Patch Set 1 #Patch Set 2 : Fix failing copyImageAt unit test #
Messages
Total messages: 6 (0 generated)
|