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

Issue 1441273002: Android WebView: Crash on compositor context loss (Closed)

Created:
5 years, 1 month ago by boliu
Modified:
4 years, 11 months ago
Reviewers:
no sievers, vmpstr
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, cc-bugs_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android WebView: Crash on compositor context loss Android webview does not, and in some cases cannot correctly handle context loss. Explicitly crash on context loss so they generate consistent crash stacks. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b354724cc217e862aba2797f92f15af564c37ba3 Cr-Commit-Position: refs/heads/master@{#367371}

Patch Set 1 #

Patch Set 2 : don't lose on memory #

Total comments: 1

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M android_webview/browser/aw_render_thread_context_provider.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/parent_output_surface.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/parent_output_surface.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/output/output_surface.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
boliu
wdyt?
5 years, 1 month ago (2015-11-13 04:13:49 UTC) #2
no sievers
On 2015/11/13 04:13:49, boliu wrote: > wdyt? For the parent compositor: The View framework should ...
5 years, 1 month ago (2015-11-13 18:24:29 UTC) #4
boliu
On 2015/11/13 18:24:29, sievers wrote: > On 2015/11/13 04:13:49, boliu wrote: > > wdyt? > ...
5 years, 1 month ago (2015-11-13 18:29:00 UTC) #5
no sievers
On 2015/11/13 18:29:00, boliu wrote: > On 2015/11/13 18:24:29, sievers wrote: > > On 2015/11/13 ...
5 years, 1 month ago (2015-11-13 19:17:19 UTC) #6
boliu
PS2 as discussed in-person
5 years, 1 month ago (2015-11-18 23:40:31 UTC) #7
no sievers
lgtm https://codereview.chromium.org/1441273002/diff/20001/android_webview/browser/aw_render_thread_context_provider.cc File android_webview/browser/aw_render_thread_context_provider.cc (right): https://codereview.chromium.org/1441273002/diff/20001/android_webview/browser/aw_render_thread_context_provider.cc#newcode62 android_webview/browser/aw_render_thread_context_provider.cc:62: attribs_for_gles2.lose_context_when_out_of_memory = false; nit: maybe put a comment ...
5 years, 1 month ago (2015-11-18 23:50:20 UTC) #8
boliu
On 2015/11/18 23:50:20, sievers wrote: > lgtm > > https://codereview.chromium.org/1441273002/diff/20001/android_webview/browser/aw_render_thread_context_provider.cc > File android_webview/browser/aw_render_thread_context_provider.cc (right): > ...
5 years, 1 month ago (2015-11-18 23:55:23 UTC) #9
no sievers
On 2015/11/18 23:55:23, boliu wrote: > On 2015/11/18 23:50:20, sievers wrote: > > lgtm > ...
5 years, 1 month ago (2015-11-19 00:00:20 UTC) #10
boliu
On 2015/11/19 00:00:20, sievers wrote: > On 2015/11/18 23:55:23, boliu wrote: > > On 2015/11/18 ...
5 years, 1 month ago (2015-11-19 00:02:31 UTC) #11
boliu
+vmpstr for cc
5 years, 1 month ago (2015-11-19 00:23:52 UTC) #13
boliu
vmpstr: mild ping
5 years, 1 month ago (2015-11-23 19:36:44 UTC) #14
vmpstr
cc lgtm, sorry for the delay
4 years, 11 months ago (2016-01-04 18:55:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441273002/40001
4 years, 11 months ago (2016-01-04 20:12:17 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-04 21:24:33 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 21:25:14 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b354724cc217e862aba2797f92f15af564c37ba3
Cr-Commit-Position: refs/heads/master@{#367371}

Powered by Google App Engine
This is Rietveld 408576698