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

Unified Diff: chrome/browser/ui/browser_unittest.cc

Issue 2869063002: mac: Don't transfer background color to new tabs (Closed)
Patch Set: s/DISABLE/DISABLED/g Created 3 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 | « chrome/browser/ui/browser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_unittest.cc
diff --git a/chrome/browser/ui/browser_unittest.cc b/chrome/browser/ui/browser_unittest.cc
index 62bcd3212b0b889993957b1e7d6594bb327a2aba..9e99d6882c5f533cbde1ac819092094f86640355 100644
--- a/chrome/browser/ui/browser_unittest.cc
+++ b/chrome/browser/ui/browser_unittest.cc
@@ -68,7 +68,14 @@ TEST_F(BrowserUnitTest, ReloadCrashedTab) {
EXPECT_TRUE(contents2->IsCrashed());
}
-TEST_F(BrowserUnitTest, SetBackgroundColorForNewTab) {
+// This tests a workaround which is not necessary on Mac.
+// https://crbug.com/719230
+#if defined(OS_MACOSX)
+#define MAYBE_SetBackgroundColorForNewTab DISABLED_SetBackgroundColorForNewTab
+#else
+#define MAYBE_SetBackgroundColorForNewTab SetBackgroundColorForNewTab
+#endif
+TEST_F(BrowserUnitTest, MAYBE_SetBackgroundColorForNewTab) {
TabStripModel* tab_strip_model = browser()->tab_strip_model();
WebContents* contents1 = CreateTestWebContents();
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698