Move some objects to DISALLOW_NEW and STACK_ALLOCATED
This makes moving ComputedStyle to Oilpan in these classes that are referencing it in the future easier. Firstly it replaces a const & reference of ComputedStyle in BoxInfo with a cached value needed in that class. Secondly it makes a local FloatObject class public so that it can be stored in a HeapVector and have WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS on it and later have a trace function for its CompuetedStyle reference. Bug: 1030176 Change-Id: Iff63d1fb385bbb5ac85fc5445caf7dfd775352ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1946051Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#722417}
Showing
Please register or sign in to comment