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

Issue 1006073002: Null check webview() before using it in RenderViewImpl::OnOrientationChange (Closed)

Created:
5 years, 9 months ago by Nate Chapin
Modified:
5 years, 9 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Null check webview() before using it in RenderViewImpl::OnOrientationChange This null check is common in RenderViewImpl callbacks, and there are crash reports to indicate that it's necessary in OnOrientationChange() BUG=466485 Committed: https://crrev.com/e20ec7cdb825c84c54392f7fa4dca9d2a1c05158 Cr-Commit-Position: refs/heads/master@{#321186}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/renderer/render_view_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Nate Chapin
Not sure whether the isWebLocalFrame() check is strictly necessary.
5 years, 9 months ago (2015-03-13 22:06:12 UTC) #2
Charlie Reis
The crash you linked to is in RenderViewImpl::OnResize, not OnOrientationChange. Maybe we should have webview() ...
5 years, 9 months ago (2015-03-13 22:47:33 UTC) #3
Nate Chapin
On 2015/03/13 22:47:33, Charlie Reis wrote: > The crash you linked to is in RenderViewImpl::OnResize, ...
5 years, 9 months ago (2015-03-13 22:52:10 UTC) #4
Charlie Reis
Sorry this got buried in my inbox! LGTM. On 2015/03/13 22:52:10, Nate Chapin wrote: > ...
5 years, 9 months ago (2015-03-18 18:15:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006073002/1
5 years, 9 months ago (2015-03-18 18:16:03 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-18 19:16:29 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 19:17:14 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e20ec7cdb825c84c54392f7fa4dca9d2a1c05158
Cr-Commit-Position: refs/heads/master@{#321186}

Powered by Google App Engine
This is Rietveld 408576698