| Index: ui/compositor/dip_util.cc
|
| diff --git a/ui/compositor/dip_util.cc b/ui/compositor/dip_util.cc
|
| index f7290e05c496ca5a3752f94df6eb27a797cb4609..fdc27cf672a4e3e68c2da16d8b93d6bcb404f2b0 100644
|
| --- a/ui/compositor/dip_util.cc
|
| +++ b/ui/compositor/dip_util.cc
|
| @@ -66,9 +66,9 @@ gfx::Rect ConvertRectToPixel(const Layer* layer,
|
| namespace {
|
|
|
| void CheckSnapped(float snapped_position) {
|
| - const float kEplison = 0.0001f;
|
| + const float kEpsilon = 0.001f;
|
| float diff = std::abs(snapped_position - gfx::ToRoundedInt(snapped_position));
|
| - DCHECK_LT(diff, kEplison);
|
| + DCHECK_LT(diff, kEpsilon);
|
| }
|
|
|
| } // namespace
|
|
|