BlinkMemoryMgt: Annotate Blink's platform/image-encoders with the macros of Allocator
As a step to annotate the macros of Allocator for the Onion Soup, this CL annotates some classes of //third_party/blink/renderer/platform/heap with the macros of Allocator. After some analyzes, it was concluded that for the case of ImageEncoder class, it makes sense to use USING_FAST_MALLOC because it has been supported factory functions which return std::unique_ptr<ImageEncoder>. In ImageEncoderUtils class, it makes sense to use STATIC_ONLY because it only has static functions. Bug: 919389 Change-Id: I892e459c7c21300128f9b6ee320afa8a3633e5a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1502316Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#637625}
Showing
Please register or sign in to comment