From ca81037a0aa6ab44297ba373ea6fd86dcd6bc0da Mon Sep 17 00:00:00 2001 From: empyrical Date: Mon, 10 Feb 2020 06:40:42 -0800 Subject: [PATCH] Fabric: Fix various includes (#27947) Summary: This pull request fixes a few `#include`s in the Fabric source: * Changes `` to `` in two files, which was an issue for case-sensitive file systems * In `ParagraphProps.cpp`, changes the include of `attributedstring/primitives.h` from a relative style to a more absolute style. ## Changelog [Internal] [Fixed] - Fabric: Fix various includes Pull Request resolved: https://github.com/facebook/react-native/pull/27947 Test Plan: Fabric compiles perfectly, and the Fabric test suite passes. Reviewed By: shergin Differential Revision: D19788148 Pulled By: sammy-SC fbshipit-source-id: 30a297e8aea50c7c7fd5f48745edf04811a6bdbd --- ReactCommon/fabric/attributedstring/conversions.h | 2 +- .../fabric/components/text/paragraph/ParagraphProps.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ReactCommon/fabric/attributedstring/conversions.h b/ReactCommon/fabric/attributedstring/conversions.h index 9336249b2a5..fe0e99cd5cd 100644 --- a/ReactCommon/fabric/attributedstring/conversions.h +++ b/ReactCommon/fabric/attributedstring/conversions.h @@ -22,7 +22,7 @@ #include #include -#include +#include namespace facebook { namespace react { diff --git a/ReactCommon/fabric/components/text/paragraph/ParagraphProps.cpp b/ReactCommon/fabric/components/text/paragraph/ParagraphProps.cpp index 47f32321012..672ad29d787 100644 --- a/ReactCommon/fabric/components/text/paragraph/ParagraphProps.cpp +++ b/ReactCommon/fabric/components/text/paragraph/ParagraphProps.cpp @@ -6,13 +6,13 @@ */ #include "ParagraphProps.h" -#include "../../../attributedstring/primitives.h" #include +#include #include #include -#include +#include namespace facebook { namespace react {