Index: content/browser/memory/memory_coordinator_browsertest.cc |
diff --git a/content/browser/memory/memory_coordinator_browsertest.cc b/content/browser/memory/memory_coordinator_browsertest.cc |
index 03c3f4ad38070f1c53b604f4bd1541c96509bd38..4a6b4cc0b3bf310146a2a6edd0552917a5ea3199 100644 |
--- a/content/browser/memory/memory_coordinator_browsertest.cc |
+++ b/content/browser/memory/memory_coordinator_browsertest.cc |
@@ -35,7 +35,13 @@ class MemoryCoordinatorTest : public ContentBrowserTest { |
DISALLOW_COPY_AND_ASSIGN(MemoryCoordinatorTest); |
}; |
-IN_PROC_BROWSER_TEST_F(MemoryCoordinatorTest, HandleAdded) { |
+// TODO(bashi): Enable this test on macos when MemoryMonitorMac is implemented. |
+#if defined(OS_MACOSX) |
+#define MAYBE_HandleAdded DISABLED_HandleAdded |
+#else |
+#define MAYBE_HandleAdded HandleAdded |
+#endif |
+IN_PROC_BROWSER_TEST_F(MemoryCoordinatorTest, MAYBE_HandleAdded) { |
GURL url = GetTestUrl("", "simple_page.html"); |
NavigateToURL(shell(), url); |
EXPECT_EQ(1u, MemoryCoordinator::GetInstance()->NumChildrenForTesting()); |