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

Unified Diff: ash/wm/window_manager_unittest.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
Index: ash/wm/window_manager_unittest.cc
diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
index 5b02d35efee70b706321a2bd687afbfcd0ae35b8..ed27f01e5512c7795f29016f6597051d85ad3aaf 100644
--- a/ash/wm/window_manager_unittest.cc
+++ b/ash/wm/window_manager_unittest.cc
@@ -507,8 +507,8 @@ TEST_F(WindowManagerTest, MAYBE_TransformActivate) {
// Rotate it clock-wise 90 degrees.
gfx::Transform transform;
- transform.SetRotate(90.0f);
- transform.ConcatTranslate(size.width(), 0);
+ transform.Translate(size.width(), 0);
+ transform.Rotate(90.0f);
root_window->SetTransform(transform);
test::TestActivationDelegate d1;

Powered by Google App Engine
This is Rietveld 408576698