Skip to content

Commit

Permalink
Removing inherited background color optimization from ARTSurfaceView
Browse files Browse the repository at this point in the history
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
  • Loading branch information
shergin authored and facebook-github-bot committed Dec 18, 2017
1 parent 2789ba0 commit c01a171
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Libraries/ART/ARTSurfaceView.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,4 @@ - (void)drawRect:(CGRect)rect
}
}

- (void)reactSetInheritedBackgroundColor:(UIColor *)inheritedBackgroundColor
{
self.backgroundColor = inheritedBackgroundColor;
}

@end

0 comments on commit c01a171

Please sign in to comment.