Use typedefs from header

Summary: Use typedefs from header for print and measure functions

Reviewed By: gkassabli

Differential Revision: D4036421

fbshipit-source-id: 01f15cb840363850970e6a60e661af06fd6ec9e0
This commit is contained in:
Emil Sjolander
2016-10-18 10:19:08 -07:00
committed by Facebook Github Bot
parent d1d9326fa4
commit fa2ffc72a4

View File

@@ -91,12 +91,8 @@ typedef struct CSSNode {
struct CSSNode *nextChild;
CSSSize (*measure)(void *context,
float width,
CSSMeasureMode widthMode,
float height,
CSSMeasureMode heightMode);
void (*print)(void *context);
CSSMeasureFunc measure;
CSSPrintFunc print;
void *context;
} CSSNode;