Skip to content

Commit 44ffdba

Browse files
j-piaseckimeta-codesync[bot]
authored andcommitted
Use module umbrella headers in attributedstring (#58814)
Summary: Pull Request resolved: #58814 The `attributedstring` headers included fine-grained headers from other modules that are protected by `UmbrellaGuard.h`, which hard-errors for consumers building with `RN_STRICT_API`. Include the module umbrella headers instead. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D123001117 fbshipit-source-id: add4b021e19ebd2402cee9d99a97243fd3a4f711
1 parent f25e188 commit 44ffdba

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/react-native/ReactCommon/react/renderer/attributedstring/AttributedString.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <react/cxxstableapi/FrameworksGuard.h>
1111

1212
#include <React/RendererCore.h>
13+
#include <React/RendererDebug.h>
1314
#include <React/Utils.h>
1415
#include <react/renderer/attributedstring/TextAttributes.h>
1516
#include <react/renderer/mounting/ShadowView.h>

‎packages/react-native/ReactCommon/react/renderer/attributedstring/ParagraphAttributes.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include <React/Graphics.h>
1515
#include <React/RendererCore.h>
16+
#include <React/RendererDebug.h>
1617
#include <React/Utils.h>
1718
#include <react/renderer/attributedstring/primitives.h>
1819

‎packages/react-native/ReactCommon/react/renderer/attributedstring/TextAttributes.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include <React/Graphics.h>
1818
#include <React/RendererCore.h>
19+
#include <React/RendererDebug.h>
1920
#include <React/Utils.h>
2021
#include <React/View.h>
2122
#include <folly/dynamic.h>

0 commit comments

Comments
 (0)