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

Issue 503813003: [Android] Speculative fix for crash during overscroll effect creation (Closed)

Created:
6 years, 4 months ago by jdduke (slow)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Speculative fix for crash during overscroll effect creation Crash reports indicate that the WindowAndroid's Compositor may be NULL during |RenderWidgetHostViewAndroid::SetContentViewCore()|. While this is a somewhat surprising result, it is in theory possible and should probably not be fatal. Avoid creating the overscroll effect in this case, instead creating it after the compositor is (re-)attached. BUG=407208 Committed: https://crrev.com/7936233f8fb1bc6a969b24474d0f32d03dd832af Cr-Commit-Position: refs/heads/master@{#291835}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleanup #

Total comments: 1

Patch Set 3 : Final check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jdduke (slow)
aelias@: I can't repro this issue, and I'm not sure what else to do short ...
6 years, 4 months ago (2014-08-25 19:57:36 UTC) #1
aelias_OOO_until_Jul13
Hmm, strictly speaking we should also create the overscroll effect when the Compositor is attached ...
6 years, 4 months ago (2014-08-25 20:06:49 UTC) #2
jdduke (slow)
On 2014/08/25 20:06:49, aelias wrote: > Hmm, strictly speaking we should also create the overscroll ...
6 years, 4 months ago (2014-08-25 20:11:35 UTC) #3
no sievers
https://codereview.chromium.org/503813003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/503813003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1637 content/browser/renderer_host/render_widget_host_view_android.cc:1637: content_view_core_->GetWindowAndroid() && content_view_core_->GetWindowAndroid() == NULL seems like an unexpected ...
6 years, 4 months ago (2014-08-25 20:37:37 UTC) #4
jdduke (slow)
https://codereview.chromium.org/503813003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/503813003/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1637 content/browser/renderer_host/render_widget_host_view_android.cc:1637: content_view_core_->GetWindowAndroid() && On 2014/08/25 20:37:36, sievers wrote: > content_view_core_->GetWindowAndroid() ...
6 years, 4 months ago (2014-08-25 20:40:04 UTC) #5
jdduke (slow)
OK, per offline discussion with sievers@, we think this may be a case of racy ...
6 years, 4 months ago (2014-08-25 21:23:55 UTC) #6
aelias_OOO_until_Jul13
On 2014/08/25 21:23:55, jdduke wrote: > OK, per offline discussion with sievers@, we think this ...
6 years, 4 months ago (2014-08-25 21:45:52 UTC) #7
no sievers
lgtm https://codereview.chromium.org/503813003/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/503813003/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1660 content/browser/renderer_host/render_widget_host_view_android.cc:1660: void RenderWidgetHostViewAndroid::OnAttachCompositor() { I just realized that these ...
6 years, 4 months ago (2014-08-25 21:48:52 UTC) #8
jdduke (slow)
On 2014/08/25 21:45:52, aelias wrote: > On 2014/08/25 21:23:55, jdduke wrote: > > OK, per ...
6 years, 4 months ago (2014-08-25 22:55:21 UTC) #9
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-25 22:55:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/503813003/40001
6 years, 4 months ago (2014-08-25 22:56:36 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 01:51:32 UTC) #12
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 01:51:33 UTC) #13
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-26 02:13:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/503813003/40001
6 years, 4 months ago (2014-08-26 02:15:05 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 02:17:15 UTC) #16
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 02:17:16 UTC) #17
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-26 04:10:06 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/503813003/40001
6 years, 4 months ago (2014-08-26 04:10:57 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (40001) as 3965c72849fd5d92f22df447bd2688aff9162e00
6 years, 4 months ago (2014-08-26 04:20:48 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:40:19 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7936233f8fb1bc6a969b24474d0f32d03dd832af
Cr-Commit-Position: refs/heads/master@{#291835}

Powered by Google App Engine
This is Rietveld 408576698