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:
committed by
Facebook Github Bot
parent
6ac38d188c
commit
67a3841164
@@ -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
|
||||
|
Reference in New Issue
Block a user