Index: ash/rotator/screen_rotation.cc |
diff --git a/ash/rotator/screen_rotation.cc b/ash/rotator/screen_rotation.cc |
index 248394a29388faacb2456ebd186c4452192529dc..9352d81ea342e0e47c7dd748a82e85595028422b 100644 |
--- a/ash/rotator/screen_rotation.cc |
+++ b/ash/rotator/screen_rotation.cc |
@@ -73,9 +73,9 @@ void ScreenRotation::InitTransform(ui::Layer* layer) { |
} |
// Convert points to world space. |
- current_transform.TransformPoint(old_pivot); |
- current_transform.TransformPoint(new_pivot); |
- current_transform.TransformPoint(new_origin_); |
+ current_transform.TransformPoint(&old_pivot); |
+ current_transform.TransformPoint(&new_pivot); |
+ current_transform.TransformPoint(&new_origin_); |
scoped_ptr<ui::InterpolatedTransform> rotation( |
new ui::InterpolatedTransformAboutPivot( |