BlinkMemoyrMgt: Annotate Blink's platform/font 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/font with the macros of Allocator. After some analyzes, it was concluded that for the case of FontFallbackList, FontGlobalContext, FontSelectionValue, FontUniqueNameLookup, OpenTypeVerticalData, ShapeResult, and UnicodeRangeSet classes, they make sense to use USING_FAST_MALLOC because they have been used with smart pointers. In HarfBuzzShaper class, it makes sense to use DISALLOW_NEW because it's used as a member variable with a reference type. Bug: 919389 Change-Id: Ia03ab46b86af39f6cb5a2d5161a7cb0809ddebb7 Reviewed-on: https://chromium-review.googlesource.com/c/1491879Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#636614}
Showing
Please register or sign in to comment