mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 01:09:34 -05:00
Various small fixes
This commit is contained in:
@@ -31,9 +31,8 @@ CefRefPtr<CefRenderProcessHandler> WebBrowserApp::GetRenderProcessHandler() {
|
||||
return this;
|
||||
}
|
||||
|
||||
void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context)
|
||||
void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser>, CefRefPtr<CefFrame>,
|
||||
CefRefPtr<CefV8Context>)
|
||||
{
|
||||
// CEF_REQUIRE_UI_THREAD();
|
||||
// CefRefPtr<CefV8Value> val = CefV8Value::CreateBool(true);
|
||||
@@ -41,8 +40,8 @@ void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> browser,
|
||||
// global->SetValue("IsWithinCEF", val, V8_PROPERTY_ATTRIBUTE_NONE);
|
||||
}
|
||||
|
||||
void WebBrowserApp::OnBeforeCommandLineProcessing(const CefString &process_type,
|
||||
CefRefPtr<CefCommandLine> command_line)
|
||||
void WebBrowserApp::OnBeforeCommandLineProcessing(const CefString&,
|
||||
CefRefPtr<CefCommandLine>)
|
||||
{
|
||||
// command_line->AppendSwitch("disable-gpu");
|
||||
// command_line->AppendSwitch("disable-gpu-compositing");
|
||||
|
||||
Reference in New Issue
Block a user