Skip to content

Commit

Permalink
ppb_instance_private_execute_script: use np_window_obj as domain
Browse files Browse the repository at this point in the history
  • Loading branch information
i-rinat committed Sep 6, 2014
1 parent b45cc9d commit 0d6e2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ppb_instance.c
Expand Up @@ -154,7 +154,7 @@ _execute_script_ptac(void *user_data)
}

np_script.UTF8Characters = ppb_var_var_to_utf8(p->script, &np_script.UTF8Length);
if (!npn.evaluate(pp_i->npp, pp_i->np_plugin_element_obj, &np_script, &np_result)) {
if (!npn.evaluate(pp_i->npp, pp_i->np_window_obj, &np_script, &np_result)) {
trace_error("%s, NPN_Evaluate failed\n", __func__);
p->result = PP_MakeUndefined();
goto quit;
Expand Down

0 comments on commit 0d6e2fd

Please sign in to comment.