Chromium Code Reviews
Descriptionaw: Quick workaround for functor detach crash/hang
Two quick fixes:
* On N where the functor detach callback is supported use it
instead along with destroy to destroy AwGLFunctor
* In RenderThreadManager::DrawGL, make sure that
HardwareRenderer is not re-created after window detach
but before functor detach/destroy. Do this by checking
if there is a frame for HardwareRenderer to consume.
Fixes above should ensure there are no crashes for using a
regular webview, but are still incomplete. These cases are
still wrong and should be fixed by the complete functor
lifetime refactor:
* Full screen video, which uses a different view (may crash)
* The pop up window flow still potentially uses the old
functor (existing bug)
* Functor playback after window detach will not draw
anything, which may cause flicker.
BUG=597167
Committed: https://crrev.com/ee6d581cf7f60fc79ed8b7df472fa4e58790ec22
Cr-Commit-Position: refs/heads/master@{#386831}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fixes #Patch Set 3 : more rtm clean up #Patch Set 4 : pesky boolean conditions #
Messages
Total messages: 17 (7 generated)
|
|||||||||||||||||||||||||||||||||||||