1. 01 Mar, 2019 1 commit
    • Gyuyoung Kim's avatar
      BlinkMemoyrMgt: Annotate Blink's platform/font with the macros of Allocator · 2f42bbc1
      Gyuyoung Kim authored
      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: default avatarKentaro Hara <haraken@chromium.org>
      Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
      Cr-Commit-Position: refs/heads/master@{#636614}
      2f42bbc1
  2. 28 Feb, 2019 39 commits