Send ReactNative C++ State to Android measure API

Summary:
The `measure` API receives LocalData and Props, it should also receive State.

This will also be used in future diffs.

Reviewed By: mdvacca

Differential Revision: D15325182

fbshipit-source-id: 6cb46dd603ce7d46673def16f0ddb517e2cf0c4f
This commit is contained in:
Joshua Gross authored and Facebook Github Bot committed 2019-05-14 14:22:10 -07:00
1 parent c35d1af6fa
commit 04782ff57a
7 files changed
+11 -1

No files matched your search

@@ -36,6 +36,7 @@ Size TextLayoutManager::measure(
jstring,
ReadableMap::javaobject,
ReadableMap::javaobject,
ReadableMap::javaobject,
jfloat,
jfloat,
jfloat,
@@ -59,6 +60,7 @@ Size TextLayoutManager::measure(
componentName.get(),
attributedStringRM.get(),
paragraphAttributesRM.get(),
nullptr,
minimumSize.width,
maximumSize.width,
minimumSize.height,