Optimize the performance of Origami

Summary: With this flag the the workflow successfully passed.

Reviewed By: emilsjolander

Differential Revision: D6619293

fbshipit-source-id: c1632efd97f47696b7f8bb1b3e763de92c707287
This commit is contained in:
Pritesh Nandgaonkar
2017-12-22 06:43:32 -08:00
committed by Facebook Github Bot
parent 7d01f4d8b1
commit 61dc10ef66
3 changed files with 36 additions and 39 deletions

View File

@@ -60,9 +60,10 @@ struct YGNode {
YGNodeType getNodeType() const;
YGMeasureFunc getMeasure() const;
YGBaselineFunc getBaseline() const;
YGStyle getStyle() const;
YGLayout getLayout() const;
YGLayout& getLayoutRef(); // TODO remove its use
// For Perfomance reasons passing as reference.
YGStyle& getStyle();
// For Perfomance reasons passing as reference.
YGLayout& getLayout();
uint32_t getLineIndex() const;
YGNodeRef getParent() const;
YGVector getChildren() const;