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

Unified Diff: ui/compositor/layer_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
« no previous file with comments | « ui/compositor/layer_animation_sequence_unittest.cc ('k') | ui/gfx/interpolated_transform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_unittest.cc
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
index ae2ae294112ce7f97f827daf321de3b46b71aab6..80e9384d7348ccacc0a5e61ebfd084d543231982 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -908,9 +908,9 @@ TEST_F(LayerWithRealCompositorTest, MAYBE_CompositorObservers) {
// Setting the transform of a layer should alert the observers.
observer.Reset();
gfx::Transform transform;
- transform.ConcatTranslate(-200, -200);
- transform.ConcatRotate(90.0f);
- transform.ConcatTranslate(200, 200);
+ transform.Translate(200.0, 200.0);
+ transform.Rotate(90.0);
+ transform.Translate(-200.0, -200.0);
l2->SetTransform(transform);
RunPendingMessages();
EXPECT_TRUE(observer.notified());
« no previous file with comments | « ui/compositor/layer_animation_sequence_unittest.cc ('k') | ui/gfx/interpolated_transform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698