setBaseLine -> setBaseline

Summary:
@public

`setBaseLine` was the only place where we used a capitalised *L.* Fixed here.

Reviewed By: SidharthGuglani

Differential Revision: D14152320

fbshipit-source-id: abf54fe7d6088e03775968baa8421c4bf43d6a6e
This commit is contained in:
David Aurelio
2019-02-21 05:35:52 -08:00
committed by Facebook Github Bot
parent 05f36a835a
commit 7331de78bd
6 changed files with 26 additions and 26 deletions

View File

@@ -34,7 +34,7 @@ TEST(YogaTest, align_baseline_customer_func) {
const YGNodeRef root_child1_child0 = YGNodeNew();
root_child1_child0->setContext(&baselineValue);
YGNodeStyleSetWidth(root_child1_child0, 50);
root_child1_child0->setBaseLineFunc(_baseline);
root_child1_child0->setBaselineFunc(_baseline);
YGNodeStyleSetHeight(root_child1_child0, 20);
YGNodeInsertChild(root_child1, root_child1_child0, 0);
YGNodeCalculateLayout(root, YGUndefined, YGUndefined, YGDirectionLTR);