mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
💄
This commit is contained in:
@@ -55,14 +55,14 @@ void AtomCefRenderProcessHandler::Reload(CefRefPtr<CefBrowser> browser) {
|
||||
}
|
||||
|
||||
void AtomCefRenderProcessHandler::Shutdown(CefRefPtr<CefBrowser> browser) {
|
||||
CefRefPtr<CefV8Context> context = browser->GetMainFrame()->GetV8Context();
|
||||
CefRefPtr<CefV8Value> global = context->GetGlobal();
|
||||
CefRefPtr<CefV8Context> context = browser->GetMainFrame()->GetV8Context();
|
||||
CefRefPtr<CefV8Value> global = context->GetGlobal();
|
||||
|
||||
context->Enter();
|
||||
CefV8ValueList arguments;
|
||||
CefRefPtr<CefV8Value> shutdownFunction = global->GetValue("shutdown");
|
||||
shutdownFunction->ExecuteFunction(global, arguments);
|
||||
context->Exit();
|
||||
context->Enter();
|
||||
CefV8ValueList arguments;
|
||||
CefRefPtr<CefV8Value> shutdownFunction = global->GetValue("shutdown");
|
||||
shutdownFunction->ExecuteFunction(global, arguments);
|
||||
context->Exit();
|
||||
}
|
||||
|
||||
bool AtomCefRenderProcessHandler::CallMessageReceivedHandler(CefRefPtr<CefV8Context> context, CefRefPtr<CefProcessMessage> message) {
|
||||
|
||||
Reference in New Issue
Block a user