Index: chrome/browser/task_manager_browsertest.cc |
diff --git a/chrome/browser/task_manager_browsertest.cc b/chrome/browser/task_manager_browsertest.cc |
index d546fe5c1a5834e4e6169ab71f773ca2cbdc1bd7..a8eaa2e7a9f6995d0325ec8913fff6e1a8f7eaba 100644 |
--- a/chrome/browser/task_manager_browsertest.cc |
+++ b/chrome/browser/task_manager_browsertest.cc |
@@ -128,16 +128,11 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, FLAKY_NoticeExtensionChanges) { |
// Browser and the New Tab Page. |
EXPECT_EQ(2, model()->ResourceCount()); |
- // Loading an extension should result in a new resource being |
- // created for it. |
- ASSERT_TRUE(LoadExtension( |
- test_data_dir_.AppendASCII("common").AppendASCII("one_in_shelf"))); |
- WaitForResourceChange(3); |
- |
- // Make sure we also recognize extensions with just background pages. |
+ // Loading an extension with a background page should result in a new |
+ // resource being created for it. |
ASSERT_TRUE(LoadExtension( |
test_data_dir_.AppendASCII("common").AppendASCII("background_page"))); |
- WaitForResourceChange(4); |
+ WaitForResourceChange(3); |
} |
// Times out on Vista; disabled to keep tests fast. http://crbug.com/44991 |