Index: content/public/test/web_contents_tester.cc |
diff --git a/content/public/test/web_contents_tester.cc b/content/public/test/web_contents_tester.cc |
index e2b249b1a0fac7443823cc60f8b5ad1ea8f20c55..512634622b763f096936ef35fb1a450d5a9b574d 100644 |
--- a/content/public/test/web_contents_tester.cc |
+++ b/content/public/test/web_contents_tester.cc |
@@ -5,6 +5,7 @@ |
#include "content/public/test/web_contents_tester.h" |
#include "content/browser/web_contents/test_web_contents.h" |
+#include "content/browser/web_contents/render_view_host_manager.h" |
namespace content { |
@@ -62,6 +63,15 @@ WebContents* WebContentsTester::CreateTestWebContents( |
} |
// static |
+WebContents* WebContentsTester::CreateTestWebContentsNoInit( |
+ BrowserContext* browser_context) { |
+ TestWebContents* contents = TestWebContents::CreateWithoutInit(browser_context); |
jam
2012/08/28 21:50:19
nit: 80 chars...
Greg Billock
2012/08/29 00:55:31
(was reverted in this change)
|
+ contents->GetRenderManagerForTesting()->Init( |
+ browser_context, NULL, MSG_ROUTING_NONE); |
+ return contents; |
+} |
+ |
+// static |
WebContents* WebContentsTester::CreateTestWebContentsCountSetFocusToLocationBar( |
BrowserContext* browser_context, |
SiteInstance* instance) { |