Remove dead code of mYogaNodeCloneFunction

Summary: Code cleanup, remove mYogaNodeCloneFunction completely and its `YogaNodeCloneFunction`

Reviewed By: SidharthGuglani

Differential Revision: D17284191

fbshipit-source-id: 36dae0c0548cfdd3e85182a8e3c6ff9a2d3a5011
This commit is contained in:
Amir Shalem
2019-09-18 05:51:12 -07:00
committed by Facebook Github Bot
parent e2dbff0ca6
commit ad5b3410f0
2 changed files with 0 additions and 19 deletions

View File

@@ -6,13 +6,10 @@
*/
package com.facebook.yoga;
import com.facebook.soloader.SoLoader;
public abstract class YogaConfigJNIBase extends YogaConfig {
protected long mNativePointer;
private YogaLogger mLogger;
private YogaNodeCloneFunction mYogaNodeCloneFunction;
private YogaConfigJNIBase(long nativePointer) {
if (nativePointer == 0) {

View File

@@ -1,16 +0,0 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.yoga;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public interface YogaNodeCloneFunction {
@DoNotStrip
YogaNode cloneNode(YogaNode oldNode, YogaNode parent, int childIndex);
}