Commit 73a91067 authored by Dave Tapuska's avatar Dave Tapuska Committed by Chromium LUCI CQ

Check that Page is non-null for further debugging.

Page should be non-null, but check that it is.

BUG=1160652

Change-Id: I1b126af29cc1f0dbebdd475fe205c77aa31e90f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622283Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842580}
parent 296680d1
......@@ -3402,6 +3402,9 @@ void WebViewImpl::InvalidateRect(const IntRect& rect) {
}
void WebViewImpl::ApplyViewportChanges(const ApplyViewportChangesArgs& args) {
// TODO(https://crbug.com/1160652): Figure out if Page is null.
CHECK(page_);
VisualViewport& visual_viewport = GetPage()->GetVisualViewport();
// Store the desired offsets the visual viewport before setting the top
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment