summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/pref_service_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs/pref_service_uitest.cc')
-rw-r--r--chrome/browser/prefs/pref_service_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/prefs/pref_service_uitest.cc b/chrome/browser/prefs/pref_service_uitest.cc
index 029fc75..c59923a 100644
--- a/chrome/browser/prefs/pref_service_uitest.cc
+++ b/chrome/browser/prefs/pref_service_uitest.cc
@@ -79,7 +79,7 @@ class PreferenceServiceTest : public UITest {
ScopedTempDir temp_dir_;
};
-#if !defined(OS_LINUX)
+#if defined(OS_WIN) || defined(OS_MACOSX)
// This test verifies that the window position from the prefs file is restored
// when the app restores. This doesn't really make sense on Linux, where
// the window manager might fight with you over positioning. However, we
@@ -142,7 +142,7 @@ TEST_F(PreferenceServiceTest, PreservedWindowPlacementIsLoaded) {
}
#endif
-#if !defined(OS_LINUX)
+#if defined(OS_WIN) || defined(OS_MACOSX)
TEST_F(PreferenceServiceTest, PreservedWindowPlacementIsMigrated) {
// The window should open with the old reference profile, with window
// placement values stored in Local State.