summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
commit1871821653de9f4b1706d726f4d318cf739e55af (patch)
tree20e58a8f34ced5656e4a8d26d813737b2810e9f8 /xfa/src/fxjse
parentfc75136232f1979217d7597b2c9c5966436eb1e1 (diff)
downloadpdfium-1871821653de9f4b1706d726f4d318cf739e55af.tar.xz
Remove FDE_Alloc in favor of FX_Alloc.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1521163002 .
Diffstat (limited to 'xfa/src/fxjse')
-rw-r--r--xfa/src/fxjse/src/value.cpp3
1 files changed, 0 insertions, 3 deletions
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<v8::Value>* lpLocalArgs = NULL;
if (nArgCount) {
lpLocalArgs = FX_Alloc(v8::Local<v8::Value>, nArgCount);
- if (!lpLocalArgs) {
- return FALSE;
- }
for (uint32_t i = 0; i < nArgCount; i++) {
new (lpLocalArgs + i) v8::Local<v8::Value>;
CFXJSE_Value* lpArg = (CFXJSE_Value*)lpArgs[i];