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

Issue 1431433005: Check for main frame existence in VisualViewport::setScaleAndLocation. (Closed)

Created:
5 years, 1 month ago by bokan
Modified:
5 years, 1 month ago
Reviewers:
majidvp
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for main frame existence in VisualViewport::setScaleAndLocation. I missed this null check in setScaleAndLocation. There's some edge cases, likely during loading, where we might get here without a frame. Also, until we figure out what to do with VisualViewport for OOPIF we could also have a null mainFrame. BUG=543945 Committed: https://crrev.com/d27923720c70c15eec621e564a66d28eab16e807 Cr-Commit-Position: refs/heads/master@{#357146}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
bokan
ptal (no test since there's no repro and it's a trivial check)
5 years, 1 month ago (2015-10-30 16:32:28 UTC) #3
majidvp
On 2015/10/30 16:32:28, bokan wrote: > ptal (no test since there's no repro and it's ...
5 years, 1 month ago (2015-10-30 17:03:05 UTC) #4
bokan
On 2015/10/30 17:03:05, majidvp wrote: > On 2015/10/30 16:32:28, bokan wrote: > > ptal (no ...
5 years, 1 month ago (2015-10-30 17:23:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431433005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431433005/1
5 years, 1 month ago (2015-10-30 17:23:51 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-10-30 18:41:31 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 18:42:13 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d27923720c70c15eec621e564a66d28eab16e807
Cr-Commit-Position: refs/heads/master@{#357146}

Powered by Google App Engine
This is Rietveld 408576698