Index: content/public/test/content_browser_test_utils.cc |
diff --git a/content/public/test/content_browser_test_utils.cc b/content/public/test/content_browser_test_utils.cc |
index 6be71c424d0fda55353a21460e99f72ef0469866..b77a2724d31722b87715645e4307b8cb69094134 100644 |
--- a/content/public/test/content_browser_test_utils.cc |
+++ b/content/public/test/content_browser_test_utils.cc |
@@ -104,6 +104,10 @@ void WaitForAppModalDialog(Shell* window) { |
runner->Run(); |
} |
+RenderFrameHost* ConvertToRenderFrameHost(Shell* shell) { |
+ return shell->web_contents()->GetMainFrame(); |
+} |
+ |
ShellAddedObserver::ShellAddedObserver() |
: shell_(NULL) { |
Shell::SetShellCreatedCallback( |