From b1bdae99c03b4d7a7bdc3221e7f44ae82965be87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gregorczyk?= Date: Mon, 21 Nov 2016 16:40:19 -0800 Subject: [PATCH] Use jni int types rather than uint64/32/16_t in JSCPerfLogging.cpp Reviewed By: bnham Differential Revision: D4213497 fbshipit-source-id: 47e0e7d72891e1070c350a60fb7d3597e99d49a1 --- .../src/main/jni/xreact/jni/JSCPerfLogging.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ReactAndroid/src/main/jni/xreact/jni/JSCPerfLogging.cpp b/ReactAndroid/src/main/jni/xreact/jni/JSCPerfLogging.cpp index adaa4eb46..e1a306665 100644 --- a/ReactAndroid/src/main/jni/xreact/jni/JSCPerfLogging.cpp +++ b/ReactAndroid/src/main/jni/xreact/jni/JSCPerfLogging.cpp @@ -17,7 +17,6 @@ using jqpl = _jqpl*; namespace facebook { namespace jni { - template<> class JObjectWrapper : public JObjectWrapper { @@ -28,31 +27,31 @@ class JObjectWrapper : public JObjectWrapper { void markerStart(int markerId, int instanceKey, long timestamp) { static auto markerStartMethod = - qplClass()->getMethod("markerStart"); + qplClass()->getMethod("markerStart"); markerStartMethod(this_, markerId, instanceKey, timestamp); } void markerEnd(int markerId, int instanceKey, short actionId, long timestamp) { static auto markerEndMethod = - qplClass()->getMethod("markerEnd"); + qplClass()->getMethod("markerEnd"); markerEndMethod(this_, markerId, instanceKey, actionId, timestamp); } void markerNote(int markerId, int instanceKey, short actionId, long timestamp) { static auto markerNoteMethod = - qplClass()->getMethod("markerNote"); + qplClass()->getMethod("markerNote"); markerNoteMethod(this_, markerId, instanceKey, actionId, timestamp); } void markerCancel(int markerId, int instanceKey) { static auto markerCancelMethod = - qplClass()->getMethod("markerCancel"); + qplClass()->getMethod("markerCancel"); markerCancelMethod(this_, markerId, instanceKey); } int64_t currentMonotonicTimestamp() { static auto currentTimestampMethod = - qplClass()->getMethod("currentMonotonicTimestamp"); + qplClass()->getMethod("currentMonotonicTimestamp"); return currentTimestampMethod(this_); }