summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 21:53:12 +0000
committerjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 21:53:12 +0000
commitf681b07a8029e8d7c26aa42d53fd1e7e8e16414c (patch)
treebc0bd2ee1cc0d4170a8e41d0846aee502fa9b34d /components
parentc086babf8788773e9f632c0c8a7623d7f85cbf13 (diff)
downloadchromium_src-f681b07a8029e8d7c26aa42d53fd1e7e8e16414c.zip
chromium_src-f681b07a8029e8d7c26aa42d53fd1e7e8e16414c.tar.gz
chromium_src-f681b07a8029e8d7c26aa42d53fd1e7e8e16414c.tar.bz2
Pass the SiteInstance into CreateRenderProcessHost
so that the RenderProcessHostFactory has as much information as the default branch. TBR=gbillock Review URL: https://chromiumcodereview.appspot.com/16490003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r--components/visitedlink/test/visitedlink_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/visitedlink/test/visitedlink_unittest.cc b/components/visitedlink/test/visitedlink_unittest.cc
index cf0f14d..35be877 100644
--- a/components/visitedlink/test/visitedlink_unittest.cc
+++ b/components/visitedlink/test/visitedlink_unittest.cc
@@ -579,7 +579,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);
}