summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-09-15 14:14:25 -0700
committerTom Sepez <tsepez@chromium.org>2015-09-15 14:14:25 -0700
commitb17d62601b21dfce85718e08cfd0ffce3a45d74e (patch)
treef8172ac47842ffa0cf7f485c8fd0170e5c54b0d7 /fpdfsdk/src
parent09ed30750282bf56a92d0e646ab22c64bea81a36 (diff)
downloadpdfium-b17d62601b21dfce85718e08cfd0ffce3a45d74e.tar.xz
Fix build broken at 09ed30750282
Wrong parameter set to nullptr during one of the CL revisions. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1344483005 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
index cb4c3fe072..bddf301989 100644
--- a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
+++ b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
@@ -60,7 +60,7 @@ TEST_F(FXJSV8Embeddertest, Getters) {
FXJSErr error;
CFX_WideString wsInfo;
CFX_WideString wsScript(kScript);
- int sts = JS_Execute(nullptr, nullptr, kScript, wcslen(kScript), &error);
+ int sts = JS_Execute(isolate(), nullptr, kScript, wcslen(kScript), &error);
EXPECT_EQ(0, sts);
v8::Local<v8::Object> This = JS_GetThisObj(isolate());