Rename measure to measureContent and pass it LayoutContext

Summary:
In order to build dynamic text sizing, `LayoutableShadowNode::measure` needs to accept `LayoutContext`

Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D20184598

fbshipit-source-id: 8928b59d51948caf3654f40049212a89a91dceb6
This commit is contained in:
Samuel Susla authored and Facebook Github Bot committed 2020-03-03 04:14:04 -08:00
1 parent d98a229202
commit b40f0562f5
16 files changed
+32 -21

No files matched your search

@@ -49,7 +49,7 @@ class AndroidTextInputShadowNode : public ConcreteViewShadowNode<
#pragma mark - LayoutableShadowNode
Size measure(LayoutConstraints layoutConstraints) const override;
Size measureContent(LayoutConstraints layoutConstraints, LayoutContext layoutContext) const override;
void layout(LayoutContext layoutContext) override;
private: