Index: ui/gfx/geometry/vector2d.cc |
diff --git a/ui/gfx/geometry/vector2d.cc b/ui/gfx/geometry/vector2d.cc |
index d9f57fd3b10922c73ce977e2a42fa469a0950fbd..43f25e933a0e9c088ee298a392a6d4103a9db260 100644 |
--- a/ui/gfx/geometry/vector2d.cc |
+++ b/ui/gfx/geometry/vector2d.cc |
@@ -24,8 +24,8 @@ void Vector2d::Subtract(const Vector2d& other) { |
y_ -= other.y_; |
} |
-int64 Vector2d::LengthSquared() const { |
- return static_cast<int64>(x_) * x_ + static_cast<int64>(y_) * y_; |
+int64_t Vector2d::LengthSquared() const { |
+ return static_cast<int64_t>(x_) * x_ + static_cast<int64_t>(y_) * y_; |
} |
float Vector2d::Length() const { |