Fixing potential measure call with negative size value
Fixing potential measure call with negative size value

Summary: There is a case when measure() function will be called with negative width/height because of margin/padding. This diff fixes that scenario

Reviewed By: emilsjolander

Differential Revision: D5111534

fbshipit-source-id: 99f09b85f0c6a0e5dec89a26baba8f9d560100da

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho