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

Issue 2015373002: Fix webview crash on attempt to scroll. (Closed)

Created:
4 years, 6 months ago by khmel
Modified:
4 years, 6 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, fsamuel, jam, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix webview crash on attempt to scroll. This fixes crash of webview when its content is scrolled using 2-fingers gesture via touchpad or using touchscreen. BUG=615512 TEST=Manually on device using Arc++ OptIn UI, ToS is scrolled as expected using touchscreen or touchpad, no crashes. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/d92694016e4cc9f7812894aa60eb4d36de6cd381 Cr-Commit-Position: refs/heads/master@{#397901}

Patch Set 1 #

Total comments: 4

Patch Set 2 : browser_tests fixed and extended #

Total comments: 2

Patch Set 3 : fixed content_tests (handle case when view is not available), added expected event into Fling test … #

Messages

Total messages: 33 (15 generated)
khmel
PTAL https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 content/browser/frame_host/render_widget_host_view_guest.cc:77: UpdateScreenInfo(GetNativeView()); Direct reason of crash current_device_scale_factor_ = 0 ...
4 years, 6 months ago (2016-05-27 20:49:26 UTC) #4
xiyuan
The fix looks good to me. But I'll let the experts say. wjmaclean@, could you ...
4 years, 6 months ago (2016-05-27 20:56:00 UTC) #6
wjmaclean
https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 content/browser/frame_host/render_widget_host_view_guest.cc:77: UpdateScreenInfo(GetNativeView()); On 2016/05/27 20:49:26, khmel wrote: > Direct reason ...
4 years, 6 months ago (2016-05-30 14:00:51 UTC) #7
khmel
Hi, Thanks for you comments, PTAL https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 content/browser/frame_host/render_widget_host_view_guest.cc:77: UpdateScreenInfo(GetNativeView()); On 2016/05/30 ...
4 years, 6 months ago (2016-06-02 00:10:22 UTC) #9
khmel
Hi, Thanks for you comments, PTAL https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 content/browser/frame_host/render_widget_host_view_guest.cc:77: UpdateScreenInfo(GetNativeView()); On 2016/05/30 ...
4 years, 6 months ago (2016-06-02 00:10:22 UTC) #10
wjmaclean
https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 content/browser/frame_host/render_widget_host_view_guest.cc:77: UpdateScreenInfo(GetNativeView()); On 2016/06/02 00:10:22, khmel wrote: > On 2016/05/30 ...
4 years, 6 months ago (2016-06-02 12:17:52 UTC) #11
wjmaclean
On 2016/06/02 12:17:52, wjmaclean wrote: > https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc > File content/browser/frame_host/render_widget_host_view_guest.cc (right): > > https://codereview.chromium.org/2015373002/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode77 > ...
4 years, 6 months ago (2016-06-02 12:18:41 UTC) #12
khmel
Thank you James and Xiyuan for review. Hi Scott, PTAL
4 years, 6 months ago (2016-06-02 15:16:46 UTC) #14
khmel
Adding jochen@ as he has right to approve all left file, PTAL
4 years, 6 months ago (2016-06-02 17:18:47 UTC) #16
sky
On 2016/06/02 17:18:47, khmel wrote: > Adding jochen@ as he has right to approve all ...
4 years, 6 months ago (2016-06-02 18:03:50 UTC) #17
khmel
On 2016/06/02 18:03:50, sky wrote: > On 2016/06/02 17:18:47, khmel wrote: > > Adding jochen@ ...
4 years, 6 months ago (2016-06-02 18:07:32 UTC) #18
sky
I'm removing myself as a reviewer then.
4 years, 6 months ago (2016-06-02 21:25:10 UTC) #21
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-03 12:45:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015373002/20001
4 years, 6 months ago (2016-06-03 14:59:42 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/121869)
4 years, 6 months ago (2016-06-03 15:23:34 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015373002/40001
4 years, 6 months ago (2016-06-04 02:25:31 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-04 04:00:03 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 04:02:23 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d92694016e4cc9f7812894aa60eb4d36de6cd381
Cr-Commit-Position: refs/heads/master@{#397901}

Powered by Google App Engine
This is Rietveld 408576698