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

Issue 663993003: Don't calculate a top controls adjustment if pinch viewport size is uninitialized. (Closed)

Created:
6 years, 2 months ago by bokan
Modified:
6 years, 2 months ago
CC:
blink-reviews, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Don't calculate a top controls adjustment if pinch viewport size is uninitialized. This was causing a NaN assertion further on in FrameView::maximumScrollPosition. BUG=425757 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184298

Patch Set 1 #

Total comments: 2

Patch Set 2 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M Source/web/WebViewImpl.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M Source/wtf/MathExtras.h View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
bokan
There's a bit of issue around initialization that this uncovered but I'd like to unblock ...
6 years, 2 months ago (2014-10-22 16:52:18 UTC) #1
bokan
There's a bit of issue around initialization that this uncovered but I'd like to unblock ...
6 years, 2 months ago (2014-10-22 16:53:01 UTC) #3
aelias_OOO_until_Jul13
Could you add another call to didUpdateTopControls() when the pinch viewport size changes, to make ...
6 years, 2 months ago (2014-10-22 18:21:45 UTC) #4
Peter Kasting
Drive-by. Please do go ahead and uncomment the ASSERT in MathExtras.h:clampTo() and remove the FIXME ...
6 years, 2 months ago (2014-10-22 19:32:21 UTC) #6
bokan
On 2014/10/22 19:32:21, Peter Kasting wrote: > Drive-by. > > Please do go ahead and ...
6 years, 2 months ago (2014-10-22 20:08:36 UTC) #7
bokan
On 2014/10/22 18:21:45, aelias wrote: > Could you add another call to didUpdateTopControls() when the ...
6 years, 2 months ago (2014-10-22 20:08:48 UTC) #8
bokan
https://codereview.chromium.org/663993003/diff/1/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/663993003/diff/1/Source/web/WebViewImpl.cpp#newcode1733 Source/web/WebViewImpl.cpp:1733: if (!pinchViewport.visibleRect().width() || !pinchViewport.visibleRect().height()) On 2014/10/22 19:32:21, Peter Kasting ...
6 years, 2 months ago (2014-10-22 20:08:53 UTC) #9
Peter Kasting
LGTM, thanks!
6 years, 2 months ago (2014-10-22 20:15:51 UTC) #10
bokan
+jchaffraix@ for Source/wtf
6 years, 2 months ago (2014-10-22 20:21:37 UTC) #12
Julien - ping for review
Source/wtf rs-lgtm
6 years, 2 months ago (2014-10-22 22:19:26 UTC) #13
bokan
Alexandre, Source/web look ok?
6 years, 2 months ago (2014-10-23 14:58:01 UTC) #14
aelias_OOO_until_Jul13
lgtm
6 years, 2 months ago (2014-10-23 17:41:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663993003/20001
6 years, 2 months ago (2014-10-23 18:06:20 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 20:05:36 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184298

Powered by Google App Engine
This is Rietveld 408576698