upgrade-dev v2.1.3

This commit is contained in:
杨红岩 2023-03-01 14:21:23 +08:00
parent deced6e93e
commit 1c351d9148

View File

@ -196,7 +196,7 @@ func (m *TCEFChromium) Browser() *ICefBrowser {
if m.browser == nil {
var result uintptr
imports.Proc(internale_CEFChromium_Browser).Call(m.Instance(), uintptr(unsafe.Pointer(&result)))
return &ICefBrowser{instance: unsafe.Pointer(result)}
m.browser = &ICefBrowser{instance: unsafe.Pointer(result)}
}
return m.browser
}