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}
Showing
Please register or sign in to comment