Merge pull request #103 from bboot9001/bugfix
fix bugfix,exec Js callback message needs send to browser process, no…
This commit is contained in:
commit
f46eca3a61
@ -196,7 +196,7 @@ bool CefJSBridge::ExecuteJSFunc(const CefString& function_name, const CefString&
|
||||
CefRefPtr<CefListValue> args = message->GetArgumentList();
|
||||
args->SetString(0, json_string->GetStringValue());
|
||||
args->SetInt(1, cpp_callback_id);
|
||||
context->GetBrowser()->SendProcessMessage(PID_RENDERER, message);
|
||||
context->GetBrowser()->SendProcessMessage(PID_BROWSER, message);
|
||||
}
|
||||
|
||||
context->Exit();
|
||||
|
Loading…
Reference in New Issue
Block a user