From 56dd520824382b25e65ad11b37b4f57f5b91a280 Mon Sep 17 00:00:00 2001 From: king6cong Date: Thu, 25 Aug 2016 10:40:44 -0700 Subject: [PATCH] fix typo Summary: Closes https://github.com/facebook/react-native/pull/9588 Differential Revision: D3771663 Pulled By: hramos fbshipit-source-id: 7f2aaef44c2d168484f91040ec24cfe0b65c07e3 --- ReactAndroid/src/main/jni/first-party/fb/jni/Hybrid.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/jni/first-party/fb/jni/Hybrid.cpp b/ReactAndroid/src/main/jni/first-party/fb/jni/Hybrid.cpp index 1b95993dc..811a7b8b4 100644 --- a/ReactAndroid/src/main/jni/first-party/fb/jni/Hybrid.cpp +++ b/ReactAndroid/src/main/jni/first-party/fb/jni/Hybrid.cpp @@ -31,7 +31,7 @@ void HybridData::setNativePointer(std::unique_ptr new_value) { // This releases ownership from the unique_ptr, and passes the pointer, and // ownership of it, to HybridData which is managed by the java GC. The // finalizer on hybridData calls resetNative which will delete the object, if - // reseetNative has not already been called. + // resetNative has not already been called. setFieldValue(pointerField, reinterpret_cast(new_value.release())); } @@ -63,4 +63,3 @@ void HybridDataOnLoad() { } }} -