Skip to content

Commit

Permalink
fix Java_org_cef_callback_CefRunContextMenuCallback_1N_N_1Cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
ujpv committed Jan 3, 2025
1 parent dcc5629 commit 92339e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/CefRunContextMenuCallback_N.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void Java_org_cef_callback_CefRunContextMenuCallback_1N_N_1Cancel(
JNIEnv* env,
jobject object,
jlong self) {
CefRefPtr<CefRunContextMenuCallback> callback = GetSelf(0);
CefRefPtr<CefRunContextMenuCallback> callback = GetSelf(self);
if (!callback)
return;
callback->Cancel();
Expand Down

0 comments on commit 92339e3

Please sign in to comment.