diff options
author | bokan <bokan@chromium.org> | 2015-10-30 11:41:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-30 18:42:03 +0000 |
commit | d27923720c70c15eec621e564a66d28eab16e807 (patch) | |
tree | 986fb451a85c2e0f23e9a331ed62997962623bb7 /media | |
parent | c0e1c5baeb79303de4efcaf49dde9acbe34787f0 (diff) | |
download | chromium_src-d27923720c70c15eec621e564a66d28eab16e807.zip chromium_src-d27923720c70c15eec621e564a66d28eab16e807.tar.gz chromium_src-d27923720c70c15eec621e564a66d28eab16e807.tar.bz2 |
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
Review URL: https://codereview.chromium.org/1431433005
Cr-Commit-Position: refs/heads/master@{#357146}
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions