summaryrefslogtreecommitdiffstats
path: root/ui/gfx/transform_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/transform_util.cc')
-rw-r--r--ui/gfx/transform_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gfx/transform_util.cc b/ui/gfx/transform_util.cc
index e5fc484..cae1124 100644
--- a/ui/gfx/transform_util.cc
+++ b/ui/gfx/transform_util.cc
@@ -6,10 +6,10 @@
#include "ui/gfx/point.h"
-namespace ui {
+namespace gfx {
-Transform GetScaleTransform(const gfx::Point& anchor, float scale) {
- ui::Transform transform;
+Transform GetScaleTransform(const Point& anchor, float scale) {
+ Transform transform;
transform.ConcatScale(scale, scale);
transform.ConcatTranslate(anchor.x() * (1 - scale),
anchor.y() * (1 - scale));