Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: components/visitedlink/test/visitedlink_unittest.cc

Issue 16490003: Pass the SiteInstance into CreateRenderProcessHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ContentBrowserClient, which is global, from argument list Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/visitedlink/test/visitedlink_unittest.cc
diff --git a/components/visitedlink/test/visitedlink_unittest.cc b/components/visitedlink/test/visitedlink_unittest.cc
index b53f8a9fabccaee94b822450e9848e10b72803b9..e5849f8376bf3a7c55a660a52a7a281af1ae99dd 100644
--- a/components/visitedlink/test/visitedlink_unittest.cc
+++ b/components/visitedlink/test/visitedlink_unittest.cc
@@ -581,7 +581,8 @@ class VisitedLinkRenderProcessHostFactory
VisitedLinkRenderProcessHostFactory()
: content::RenderProcessHostFactory() {}
virtual content::RenderProcessHost* CreateRenderProcessHost(
- content::BrowserContext* browser_context) const OVERRIDE {
+ content::BrowserContext* browser_context,
+ content::SiteInstance* site_instance) const OVERRIDE {
return new VisitRelayingRenderProcessHost(browser_context);
}

Powered by Google App Engine
This is Rietveld 408576698