| Index: third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
|
| diff --git a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
|
| index d6eeed0c8342701099ba04716dc08adf73e82de9..ea506cf82ea2f2d660f44393d0592089eaccecc1 100644
|
| --- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
|
| +++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp
|
| @@ -868,7 +868,7 @@ FloatQuad TransformationMatrix::ProjectQuad(const FloatQuad& q,
|
| }
|
|
|
| static float ClampEdgeValue(float f) {
|
| - ASSERT(!std::isnan(f));
|
| + DCHECK(!std::isnan(f));
|
| return clampTo(f, (-LayoutUnit::Max() / 2).ToFloat(),
|
| (LayoutUnit::Max() / 2).ToFloat());
|
| }
|
| @@ -1835,7 +1835,7 @@ bool TransformationMatrix::IsIntegerTranslation() const {
|
| }
|
|
|
| FloatSize TransformationMatrix::To2DTranslation() const {
|
| - ASSERT(IsIdentityOr2DTranslation());
|
| + DCHECK(IsIdentityOr2DTranslation());
|
| return FloatSize(matrix_[3][0], matrix_[3][1]);
|
| }
|
|
|
|
|