mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 749750 - Correctly ref created Surfaces on Android r=blassey
This commit is contained in:
parent
4b0d6b0c67
commit
390afef192
@ -2099,7 +2099,7 @@ AndroidBridge::CreateSurface()
|
||||
|
||||
jobject surface = env->CallStaticObjectMethod(mGeckoAppShellClass, jCreateSurface);
|
||||
if (surface)
|
||||
env->NewGlobalRef(surface);
|
||||
surface = env->NewGlobalRef(surface);
|
||||
|
||||
return surface;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user