From 23cb87a48168e40f9b7f58b28e8d389a6e12c70e Mon Sep 17 00:00:00 2001 From: Sriram Ramasubramanian Date: Wed, 24 Aug 2016 18:07:05 -0700 Subject: [PATCH] FBUI: Move TextLayout CacheWarmer to be inside textlayoutbuilder Summary: Move TextLayout's Cache Warmer to be inside c/f/fbui/textlayoutbuilder. Logically feels good. Reviewed By: ahmedre Differential Revision: D3766463 --- ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java b/ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java index 0fba57b76..f8ca21275 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java +++ b/ReactAndroid/src/main/java/com/facebook/react/flat/RCTText.java @@ -22,12 +22,12 @@ import com.facebook.csslayout.CSSNodeAPI; import com.facebook.csslayout.MeasureOutput; import com.facebook.csslayout.Spacing; import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder; +import com.facebook.fbui.textlayoutbuilder.cachewarmer.DefaultTextLayoutCacheWarmer; import com.facebook.react.bridge.JSApplicationIllegalArgumentException; import com.facebook.react.uimanager.PixelUtil; import com.facebook.react.uimanager.ViewDefaults; import com.facebook.react.uimanager.ViewProps; import com.facebook.react.uimanager.annotations.ReactProp; -import com.facebook.textcachewarmer.DefaultTextLayoutCacheWarmer; /** * RCTText is a top-level node for text. It extends {@link RCTVirtualText} because it can contain