Index: chrome/test/ui_test_utils.cc |
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc |
index ad6d8c91ec1196fb0937fde25e34a8b783dfd32d..0dd2504c6d1a6552ea479fe8ccc27fa56d34b49f 100644 |
--- a/chrome/test/ui_test_utils.cc |
+++ b/chrome/test/ui_test_utils.cc |
@@ -612,10 +612,10 @@ void CrashTab(TabContents* tab) { |
Source<RenderProcessHost>(rph)); |
} |
-void WaitForFocusChange(RenderViewHost* rvh) { |
+void WaitForFocusChange(TabContents* tab_contents) { |
TestNotificationObserver observer; |
RegisterAndWait(&observer, NotificationType::FOCUS_CHANGED_IN_PAGE, |
- Source<RenderViewHost>(rvh)); |
+ Source<TabContents>(tab_contents)); |
} |
void WaitForFocusInBrowser(Browser* browser) { |