From 1871821653de9f4b1706d726f4d318cf739e55af Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 17 Dec 2015 10:37:41 -0800 Subject: Remove FDE_Alloc in favor of FX_Alloc. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1521163002 . --- xfa/src/fxjse/src/value.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'xfa/src/fxjse') diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp index 1ef7ceecb8..a6d01843e1 100644 --- a/xfa/src/fxjse/src/value.cpp +++ b/xfa/src/fxjse/src/value.cpp @@ -500,9 +500,6 @@ FX_BOOL CFXJSE_Value::Call(CFXJSE_Value* lpReceiver, v8::Local* lpLocalArgs = NULL; if (nArgCount) { lpLocalArgs = FX_Alloc(v8::Local, nArgCount); - if (!lpLocalArgs) { - return FALSE; - } for (uint32_t i = 0; i < nArgCount; i++) { new (lpLocalArgs + i) v8::Local; CFXJSE_Value* lpArg = (CFXJSE_Value*)lpArgs[i]; -- cgit v1.2.3