From a902cc74dd999a01aac444619fcfa8ec9719f689 Mon Sep 17 00:00:00 2001 From: Robert Sayre Date: Thu, 7 Jun 2018 08:13:16 -0700 Subject: [PATCH] Remove unused include. (#19548) Summary: `LayoutableShadowNode.cpp` includes `"LayoutableShadowNode.h"` as well as ``. In turn, `LayoutContext.h` then includes ``. `LayoutContext.h` doesn't actually require `LayoutableShadowNode.h`, but this unnecessary inclusion can cause duplicate definition errors if the two include paths don't map to exactly the same file. This patch removes the unnecessary include. The CI's build system should cover the testing needed. [INTERNAL] [MINOR] [fabric] - Remove an unnecessary include in fabric/core/layout. Closes https://github.com/facebook/react-native/pull/19548 Differential Revision: D8313337 Pulled By: shergin fbshipit-source-id: 2e01e29ff25131543d9a8601483c2e716c7437be --- ReactCommon/fabric/core/layout/LayoutContext.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/ReactCommon/fabric/core/layout/LayoutContext.h b/ReactCommon/fabric/core/layout/LayoutContext.h index 1046fd00147fdd..d7197cd9632eae 100644 --- a/ReactCommon/fabric/core/layout/LayoutContext.h +++ b/ReactCommon/fabric/core/layout/LayoutContext.h @@ -7,9 +7,6 @@ #pragma once -#include - -#include #include namespace facebook {