Skip to content

Commit bc9deca

Browse files
committed
Update CEF to 3.3071.1644.g408afd1 (Chromium 59.0.3071.109)
1 parent b47310f commit bc9deca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Client/cefweb/CWebView.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ void CWebView::Initialise ()
6565
browserSettings.javascript = bEnabledJavascript ? cef_state_t::STATE_ENABLED : cef_state_t::STATE_DISABLED;
6666
}
6767

68+
// Set background color to opaque white if transparency is disabled
69+
if (!m_bIsTransparent)
70+
browserSettings.background_color = 0xffffffff;
71+
6872
CefWindowInfo windowInfo;
69-
windowInfo.SetAsWindowless ( g_pCore->GetHookedWindow (), m_bIsTransparent );
73+
windowInfo.SetAsWindowless ( g_pCore->GetHookedWindow () );
7074

7175
CefBrowserHost::CreateBrowser ( windowInfo, this, "", browserSettings, nullptr );
7276
}

0 commit comments

Comments
 (0)