revert D5609280

Reviewed By: achen1

Differential Revision: D5711182

fbshipit-source-id: 5b4d813d144d92671090443990a3e2ea2abf3abe
This commit is contained in:
Aaron Chiu
2017-08-25 18:25:56 -07:00
committed by Facebook Github Bot
parent 26ef0b0f33
commit 5d58831eac
4 changed files with 8 additions and 16 deletions

View File

@@ -183,7 +183,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
Systrace.beginSection(
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE,
"UIManagerModule.addRootView");
final int tag = ((TaggedRootView) rootView).getRootViewTag();
final int tag = ReactRootViewTagGenerator.getNextRootViewTag();
final int width;
final int height;