Index: chrome/browser/chromeos/display/display_preferences_unittest.cc |
diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
index 023cfdf34bb660c6fea8e27c5bee7391f06d8b5a..354c97a424f7e98a1137d064963cfce0405e1cd7 100644 |
--- a/chrome/browser/chromeos/display/display_preferences_unittest.cc |
+++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
@@ -183,7 +183,7 @@ TEST_F(DisplayPreferencesTest, BasicStores) { |
ash::internal::DisplayManager* display_manager = |
ash::Shell::GetInstance()->display_manager(); |
- UpdateDisplay("200x200*2,200x200"); |
+ UpdateDisplay("300x200*2,400x300"); |
int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); |
gfx::Display::SetInternalDisplayId(id1); |
int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); |
@@ -231,6 +231,10 @@ TEST_F(DisplayPreferencesTest, BasicStores) { |
EXPECT_EQ(1, rotation); |
EXPECT_EQ(1250, ui_scale); |
+ int width = 0, height = 0; |
+ EXPECT_FALSE(property->GetInteger("width", &width)); |
+ EXPECT_FALSE(property->GetInteger("height", &height)); |
+ |
int top = 0, left = 0, bottom = 0, right = 0; |
EXPECT_TRUE(property->GetInteger("insets_top", &top)); |
EXPECT_TRUE(property->GetInteger("insets_left", &left)); |