| Code-Review | +1 |
Please fix this INFO reported by Metrics: The following histograms were removed without an obsoletion message: Blink.Canva...
The following histograms were removed without an obsoletion message: Blink.Canvas.RequestedImageMimeTypes_toBlobCallback, Blink.Canvas.RequestedImageMimeTypes_toDataURL, Blink.Canvas.RequestedImageMimeTypes_convertToBlobPromise. It is preferred to add an obsoletion message when a histogram is removed: https://chromium.googlesource.com/chromium/src/tools/+/HEAD/metrics/histograms/README.md#add-an-obsoletion-message.
This CL removes the Blink.Canvas.RequestedImageMimeTypes histograms, which tracked the requested image MIME types for canvas toDataURL, toBlob, and convertToBlob operations. As a result, the EncodeReason enum and parameter are removed from ImageEncoderUtils::ToEncodingMimeType, simplifying the method signature and implementation.nit: format
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Please fix this INFO reported by Metrics: The following histograms were removed without an obsoletion message: Blink.Canva...
The following histograms were removed without an obsoletion message: Blink.Canvas.RequestedImageMimeTypes_toBlobCallback, Blink.Canvas.RequestedImageMimeTypes_toDataURL, Blink.Canvas.RequestedImageMimeTypes_convertToBlobPromise. It is preferred to add an obsoletion message when a histogram is removed: https://chromium.googlesource.com/chromium/src/tools/+/HEAD/metrics/histograms/README.md#add-an-obsoletion-message.
Done
This CL removes the Blink.Canvas.RequestedImageMimeTypes histograms, which tracked the requested image MIME types for canvas toDataURL, toBlob, and convertToBlob operations. As a result, the EncodeReason enum and parameter are removed from ImageEncoderUtils::ToEncodingMimeType, simplifying the method signature and implementation.Dave Tapuskanit: format
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Remove Blink.Canvas.RequestedImageMimeTypes histograms and related code
This CL removes the Blink.Canvas.RequestedImageMimeTypes histograms,
which tracked the requested image MIME types for canvas toDataURL,
toBlob, and convertToBlob operations. As a result, the EncodeReason enum
and parameter are removed from ImageEncoderUtils::ToEncodingMimeType,
simplifying the method signature and implementation.
BUG=428706237
OBSOLETE_HISTOGRAM[Blink.Canvas.RequestedImageMimeTypes_toBlobCallback=Expired
OBSOLETE_HISTOGRAM[Blink.Canvas.RequestedImageMimeTypes_toDataURL]=Expired
OBSOLETE_HISTOGRAM[Blink.Canvas.RequestedImageMimeTypes_convertToBlobPromise]=Expired
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |