Fix benchmark

Summary: It was always a mistake to have a measure function here but the recent addition of an assertion made us notice it.

Reviewed By: splhack

Differential Revision: D4156754

fbshipit-source-id: 98fcea6e233cb4f5706ebca37028c8d67edb4c09
This commit is contained in:
Emil Sjolander
2016-11-09 20:17:30 -08:00
committed by Facebook Github Bot
parent c382d513fb
commit 087d1f3a82

View File

@@ -59,7 +59,6 @@ CSS_BENCHMARKS({
for (uint32_t i = 0; i < 10; i++) {
const CSSNodeRef child = CSSNodeNew();
CSSNodeSetMeasureFunc(child, _measure);
CSSNodeStyleSetFlex(child, 1);
CSSNodeInsertChild(root, child, 0);