Codechange: Remove deferred nested_array initialization path. (#11640)
Having two ways (`FillNestedArray` and `SetupSmallestSize`) to initialize `Window::nested_array` introduces confusion. Instead, make `FillNestedArray` the canonical way, always call it, and remove init_array from `SetupSmallestSize`.
This commit is contained in:
@@ -288,7 +288,7 @@ public:
|
||||
virtual ptrdiff_t GetTextCharacterAtPosition(const Point &pt) const;
|
||||
|
||||
void InitNested(WindowNumber number = 0);
|
||||
void CreateNestedTree(bool fill_nested = true);
|
||||
void CreateNestedTree();
|
||||
void FinishInitNested(WindowNumber window_number = 0);
|
||||
|
||||
template<typename T, std::enable_if_t<std::is_base_of<StrongTypedefBase, T>::value, int> = 0>
|
||||
|
Reference in New Issue
Block a user