From c01a171ed881fb91a972ed475011f85697a29341 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Mon, 18 Dec 2017 11:41:28 -0800 Subject: [PATCH] Removing `inherited background color` optimization from ARTSurfaceView Summary: We are removing `reactSetInheritedBackgroundColor` feature because it overcomplicates RN rendering layer and provides very small benefits. This is the last place where we are using `reactSetInheritedBackgroundColor`. Reviewed By: mmmulani Differential Revision: D6581599 fbshipit-source-id: 129997332a03daf927acdd174e5853bfd388332f --- Libraries/ART/ARTSurfaceView.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Libraries/ART/ARTSurfaceView.m b/Libraries/ART/ARTSurfaceView.m index 96191360ac..ee7183d7d2 100644 --- a/Libraries/ART/ARTSurfaceView.m +++ b/Libraries/ART/ARTSurfaceView.m @@ -46,9 +46,4 @@ } } -- (void)reactSetInheritedBackgroundColor:(UIColor *)inheritedBackgroundColor -{ - self.backgroundColor = inheritedBackgroundColor; -} - @end