diff --git a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h index 8e0d4b062fd..244cf2c5ca4 100644 --- a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h +++ b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h @@ -7,12 +7,12 @@ #pragma once -#include #include #include #include #include #include +#include namespace facebook::react { @@ -114,8 +114,7 @@ inline size_t textAttributesHashLayoutWise( const TextAttributes& textAttributes) { // Taking into account the same props as // `areTextAttributesEquivalentLayoutWise` mentions. - return folly::hash::hash_combine( - 0, + return facebook::react::hash_combine( textAttributes.fontFamily, textAttributes.fontSize, textAttributes.fontSizeMultiplier,