mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Rename measure to measureContent and pass it LayoutContext"
Summary: Original commit changeset: 8928b59d5194 Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D20246918 fbshipit-source-id: 0b9142d9bc4774a07304769126411a34cc8c33c5
This commit is contained in:
committed by
Facebook Github Bot
parent
74034ba23a
commit
3ee1e5312a
+2
-3
@@ -153,9 +153,8 @@ void AndroidTextInputShadowNode::updateStateIfNeeded() {
|
||||
|
||||
#pragma mark - LayoutableShadowNode
|
||||
|
||||
Size AndroidTextInputShadowNode::measureContent(
|
||||
LayoutConstraints layoutConstraints,
|
||||
LayoutContext layoutContext) const {
|
||||
Size AndroidTextInputShadowNode::measure(
|
||||
LayoutConstraints layoutConstraints) const {
|
||||
// Layout is called right after measure.
|
||||
// Measure is marked as `const`, and `layout` is not; so State can be updated
|
||||
// during layout, but not during `measure`. If State is out-of-date in layout,
|
||||
|
||||
Reference in New Issue
Block a user