Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 5b9beb14fac7286cac2b1cdb963aaf0a4d925f7d..5302c99717db9b5920aefdd25b5688f95456cb37 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -362,10 +362,12 @@ Profile* CreateProfile(const content::MainFunctionParams& parameters, |
if (profile) |
return profile; |
+#if !defined(OS_WIN) |
// TODO(port): fix this. See comments near the definition of |
// user_data_dir. It is better to CHECK-fail here than it is to |
// silently exit because of missing code in the above test. |
CHECK(profile) << "Cannot get default profile."; |
+#endif |
return NULL; |
} |