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

Issue 2768603002: Avoid setting visual viewport location/scale if it's infinite/NaN (Closed)

Created:
3 years, 9 months ago by bokan
Modified:
3 years, 9 months ago
Reviewers:
skobes
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid setting visual viewport location/scale if it's infinite/NaN This CL replaces CHECKs added in r457920 with early-outs. Crash stats revealed we can enter this method with the location argument being infinity. Seems to only happen on ChromeOS with touchpad pinch-zoom. BUG=702711 Review-Url: https://codereview.chromium.org/2768603002 Cr-Commit-Position: refs/heads/master@{#458548} Committed: https://chromium.googlesource.com/chromium/src/+/582807cc0713109b51ec8e1adca6d04879a00c18

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Patch Set 3 : Undo accidental change #

Patch Set 4 : Undo another unintended change #

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

Messages

Total messages: 11 (6 generated)
bokan
3 years, 9 months ago (2017-03-21 18:45:38 UTC) #3
skobes
lgtm https://codereview.chromium.org/2768603002/diff/1/third_party/WebKit/Source/core/frame/VisualViewport.cpp File third_party/WebKit/Source/core/frame/VisualViewport.cpp (right): https://codereview.chromium.org/2768603002/diff/1/third_party/WebKit/Source/core/frame/VisualViewport.cpp#newcode313 third_party/WebKit/Source/core/frame/VisualViewport.cpp:313: // TODO(bokan): Looks lie we call into setScaleAndLocation ...
3 years, 9 months ago (2017-03-21 19:06:49 UTC) #4
bokan
https://codereview.chromium.org/2768603002/diff/1/third_party/WebKit/Source/core/frame/VisualViewport.cpp File third_party/WebKit/Source/core/frame/VisualViewport.cpp (right): https://codereview.chromium.org/2768603002/diff/1/third_party/WebKit/Source/core/frame/VisualViewport.cpp#newcode313 third_party/WebKit/Source/core/frame/VisualViewport.cpp:313: // TODO(bokan): Looks lie we call into setScaleAndLocation with ...
3 years, 9 months ago (2017-03-21 19:19:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768603002/60001
3 years, 9 months ago (2017-03-21 19:20:01 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 21:16:55 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/582807cc0713109b51ec8e1adca6...

Powered by Google App Engine
This is Rietveld 408576698