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
This commit is contained in:
Sriram Ramasubramanian 2016-08-24 18:07:05 -07:00 committed by Ahmed El-Helw
parent 66bbd78fe3
commit 23cb87a481
1 changed files with 1 additions and 1 deletions

View File

@ -22,12 +22,12 @@ import com.facebook.csslayout.CSSNodeAPI;
import com.facebook.csslayout.MeasureOutput; import com.facebook.csslayout.MeasureOutput;
import com.facebook.csslayout.Spacing; import com.facebook.csslayout.Spacing;
import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder; import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder;
import com.facebook.fbui.textlayoutbuilder.cachewarmer.DefaultTextLayoutCacheWarmer;
import com.facebook.react.bridge.JSApplicationIllegalArgumentException; import com.facebook.react.bridge.JSApplicationIllegalArgumentException;
import com.facebook.react.uimanager.PixelUtil; import com.facebook.react.uimanager.PixelUtil;
import com.facebook.react.uimanager.ViewDefaults; import com.facebook.react.uimanager.ViewDefaults;
import com.facebook.react.uimanager.ViewProps; import com.facebook.react.uimanager.ViewProps;
import com.facebook.react.uimanager.annotations.ReactProp; 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 * RCTText is a top-level node for text. It extends {@link RCTVirtualText} because it can contain