diff --git a/ReactCommon/fabric/components/text/paragraph/ParagraphComponentDescriptor.h b/ReactCommon/fabric/components/text/paragraph/ParagraphComponentDescriptor.h index 80510ce44d6..b42ae6d93f1 100644 --- a/ReactCommon/fabric/components/text/paragraph/ParagraphComponentDescriptor.h +++ b/ReactCommon/fabric/components/text/paragraph/ParagraphComponentDescriptor.h @@ -52,8 +52,7 @@ class ParagraphComponentDescriptor final // `ParagraphShadowNode` uses this to cache the results of text rendering // measurements. - paragraphShadowNode->setMeasureCache( - measureCache_ ? measureCache_.get() : nullptr); + paragraphShadowNode->setMeasureCache(measureCache_.get()); paragraphShadowNode->dirtyLayout();