summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2018-03-23 10:16:17 -0400
committerRay Strode <rstrode@redhat.com>2018-03-28 16:46:36 -0400
commit16ae00ba4d7de1386cfd7c08e100740612332df8 (patch)
treebb10c3edf9bceccb409222c04aa2d629730ef359
parentf1ee5278fae399ef66e980d8afad89a9303bc9c6 (diff)
downloadpolkit-16ae00ba4d7de1386cfd7c08e100740612332df8.tar.gz
jsauthority: adapt arguments for new JS_ExecuteScript API
JS_ExecuteScript no longer takes a global argument.
-rw-r--r--src/polkitbackend/polkitbackendjsauthority.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
index ee9ced9..25e9343 100644
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
@@ -1039,7 +1039,6 @@ execute_script_with_runaway_killer (PolkitBackendJsAuthority *authority,
runaway_killer_setup (authority);
ret = JS_ExecuteScript (authority->priv->cx,
- authority->priv->js_global,
script,
rval);
runaway_killer_teardown (authority);