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

Unified Diff: ui/gfx/monitor_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: disable tests that doesn't run on bots 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
« no previous file with comments | « ui/gfx/monitor.cc ('k') | ui/gfx/path.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/monitor_unittest.cc
diff --git a/ui/gfx/monitor_unittest.cc b/ui/gfx/monitor_unittest.cc
index a6f8c057d0dae8d63baa1f0baff757bce8a8519d..ae129d47891c89a3f11ebd336956c1ea402ee70a 100644
--- a/ui/gfx/monitor_unittest.cc
+++ b/ui/gfx/monitor_unittest.cc
@@ -29,7 +29,6 @@ TEST(MonitorTest, WorkArea) {
EXPECT_EQ("4,3 190x192", monitor.work_area().ToString());
}
-#if defined(ENABLE_DIP)
TEST(MonitorTest, Scale) {
gfx::Monitor monitor(0, gfx::Rect(0, 0, 100, 100));
monitor.set_work_area(gfx::Rect(10, 10, 80, 80));
@@ -46,6 +45,5 @@ TEST(MonitorTest, Scale) {
EXPECT_EQ("0,0 100x100", monitor.bounds().ToString());
EXPECT_EQ("10,10 80x80", monitor.work_area().ToString());
}
-#endif
}
« no previous file with comments | « ui/gfx/monitor.cc ('k') | ui/gfx/path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698