From b17d62601b21dfce85718e08cfd0ffce3a45d74e Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 15 Sep 2015 14:14:25 -0700 Subject: 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 . --- fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk') 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 This = JS_GetThisObj(isolate()); -- cgit v1.2.3