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

Issue 2771663004: Relax the eplison to check snapping (Closed)

Created:
3 years, 9 months ago by oshima
Modified:
3 years, 8 months ago
Reviewers:
servolk, piman
CC:
chromium-reviews, jbauman+watch_chromium.org, kalyank, danakj+watch_chromium.org, Ian Vollick, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Relax the eplison to check snapping BUG=637172 Review-Url: https://codereview.chromium.org/2771663004 Cr-Commit-Position: refs/heads/master@{#459237} Committed: https://chromium.googlesource.com/chromium/src/+/31fb61e4a57da0fcc54a87bda416a8d7c8344de1

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/compositor/dip_util.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 14 (6 generated)
oshima
3 years, 9 months ago (2017-03-23 06:51:50 UTC) #3
piman
lgtm
3 years, 9 months ago (2017-03-23 20:34:52 UTC) #4
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/2771663004/1
3 years, 9 months ago (2017-03-23 20:37:42 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/31fb61e4a57da0fcc54a87bda416a8d7c8344de1
3 years, 9 months ago (2017-03-23 21:46:17 UTC) #9
servolk
https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc File ui/compositor/dip_util.cc (right): https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc#newcode69 ui/compositor/dip_util.cc:69: const float kEplison = 0.0002f; Nit: fix the typo ...
3 years, 9 months ago (2017-03-23 21:49:00 UTC) #11
servolk
https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc File ui/compositor/dip_util.cc (right): https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc#newcode69 ui/compositor/dip_util.cc:69: const float kEplison = 0.0002f; On 2017/03/23 21:49:00, servolk ...
3 years, 9 months ago (2017-03-23 21:50:24 UTC) #12
servolk
On 2017/03/23 21:50:24, servolk wrote: > https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc > File ui/compositor/dip_util.cc (right): > > https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc#newcode69 > ...
3 years, 8 months ago (2017-03-31 18:50:29 UTC) #13
servolk
3 years, 8 months ago (2017-04-21 22:48:41 UTC) #14
Message was sent while issue was closed.
On 2017/03/31 18:50:29, servolk wrote:
> On 2017/03/23 21:50:24, servolk wrote:
> > https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc
> > File ui/compositor/dip_util.cc (right):
> > 
> >
>
https://codereview.chromium.org/2771663004/diff/1/ui/compositor/dip_util.cc#n...
> > ui/compositor/dip_util.cc:69: const float kEplison = 0.0002f;
> > On 2017/03/23 21:49:00, servolk wrote:
> > > Nit: fix the typo while you are at it kEplison -> kEpsilon
> > 
> > Also, I'm pretty sure 0.0002f is not enough. I have been still getting
DCHECKs
> > when I tried that locally. 0.0005f seems to work fine. But it's still not
> clear
> > to me how this value was calculated. Do you mind explaining why you chose
> > 0.0002f?
> 
> Ping. This is still happening to me on my Linux workstation with 2560x1600
> screen resolution:
> [95503:95503:0331/114850.167898:FATAL:dip_util.cc(71)] Check failed: diff <
> kEplison (0.000244141 vs. 0.0002)

Ping. Still happening here, whenever I open a new tab.

Powered by Google App Engine
This is Rietveld 408576698