Fix build broken at 09ed30750282
authorTom Sepez <tsepez@chromium.org>
Tue, 15 Sep 2015 21:14:25 +0000 (14:14 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 15 Sep 2015 21:14:25 +0000 (14:14 -0700)
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

index cb4c3fe..bddf301 100644 (file)
@@ -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());