Switch to YogaNodeFactory.create

Summary: Switch to `YogaNodeFactory.create()` instead of using `YogaNode.create()`

Reviewed By: SidharthGuglani

Differential Revision: D17258195

fbshipit-source-id: 5f31540724a16e401fcd0fbdf19a4baa354b2d72
This commit is contained in:
Amir Shalem
2019-09-17 06:52:49 -07:00
committed by Facebook Github Bot
parent 6ac38d188c
commit 67a3841164
3 changed files with 8 additions and 6 deletions

View File

@@ -14,12 +14,12 @@ public class TestParametrization {
NodeFactory nodeFactory = new NodeFactory() {
@Override
public YogaNode create() {
return YogaNode.create();
return YogaNodeFactory.create();
}
@Override
public YogaNode create(YogaConfig config) {
return YogaNode.create(config);
return YogaNodeFactory.create(config);
}
@Override