Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Issue 1885103002: [Merge M51] aw: Quick workaround for functor detach crash/hang (Closed)

Created:
4 years, 8 months ago by boliu
Modified:
4 years, 8 months ago
Reviewers:
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

[Merge M51] aw: 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 Review URL: https://codereview.chromium.org/1882623002 Cr-Commit-Position: refs/heads/master@{#386831} (cherry picked from commit ee6d581cf7f60fc79ed8b7df472fa4e58790ec22) Committed: https://chromium.googlesource.com/chromium/src/+/cb6539bde8f3ae00e3ceed9334d8883c856d729c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -9 lines) Patch
M android_webview/browser/render_thread_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/render_thread_manager.cc View 3 chunks +13 lines, -6 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 6 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
boliu
4 years, 8 months ago (2016-04-13 17:07:06 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
cb6539bde8f3ae00e3ceed9334d8883c856d729c.

Powered by Google App Engine
This is Rietveld 408576698