Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3205)

Unified Diff: ash/wm/gestures/long_press_affordance_handler.cc

Issue 11418040: gfx::Transform API clean-up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/tray_item_view.cc ('k') | ash/wm/session_state_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/long_press_affordance_handler.cc
diff --git a/ash/wm/gestures/long_press_affordance_handler.cc b/ash/wm/gestures/long_press_affordance_handler.cc
index f776e0122f0f9e50eb487b608db5ded6a961aa94..112a97ed4fe2b697810b20dc7c1ddf5d398f7142 100644
--- a/ash/wm/gestures/long_press_affordance_handler.cc
+++ b/ash/wm/gestures/long_press_affordance_handler.cc
@@ -201,7 +201,7 @@ class LongPressAffordanceHandler::LongPressAffordanceView
canvas->Save();
gfx::Transform scale;
- scale.SetScale(current_scale_, current_scale_);
+ scale.Scale(current_scale_, current_scale_);
// We want to scale from the center.
canvas->Translate(center.OffsetFromOrigin());
canvas->Transform(scale);
« no previous file with comments | « ash/system/tray/tray_item_view.cc ('k') | ash/wm/session_state_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698