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

Unified Diff: ash/dip_unittest.cc

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 months 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/dip_unittest.cc
diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
index 9d279f8a3ff7ce1f0c73ba62cb18c28ec3448d2d..10e9fb66c71a2cb6d9474090e93e0aca1d55f5c2 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -62,7 +62,7 @@ TEST_F(DIPTest, MAYBE_Shadow) {
window->SetBounds(kBoundsInDIP);
shadow = api.GetShadowForWindow(window.get());
window->Show();
- EXPECT_EQ("40,60 800x600", window->GetBoundsInPixel().ToString());
+ EXPECT_EQ("40,60 800x600", window->layer()->GetBoundsInPixel().ToString());
EXPECT_EQ(layer_bounds_copy.Scale(2.0f).ToString(),
shadow->layer()->bounds().ToString());
}

Powered by Google App Engine
This is Rietveld 408576698