summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/test_tab_contents.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 04:02:51 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 04:02:51 +0000
commit674b382acde1e6f5f8919fff715388a37afcedee (patch)
tree4e4cad713a552a6f58a2e2ad6ef2688203c025f6 /chrome/browser/tab_contents/test_tab_contents.cc
parent71a77a6260e63813d6ab0909f8cba1266863d9ca (diff)
downloadchromium_src-674b382acde1e6f5f8919fff715388a37afcedee.zip
chromium_src-674b382acde1e6f5f8919fff715388a37afcedee.tar.gz
chromium_src-674b382acde1e6f5f8919fff715388a37afcedee.tar.bz2
ChromeFrame currently overrides the request context for intercepting network requests and cookie requests to route them
over the automation channel. This adds needless complexity and race conditions between registering a request context for a renderer process as the first one wins. We no longer override the request context in ChromeFrame. For cookie requests we look up the registered render view map and on finding one we route the request over the automation channel. Fixes bug http://code.google.com/p/chromium/issues/detail?id=51103 Bug=51103 Review URL: http://codereview.chromium.org/3036038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/test_tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents/test_tab_contents.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/test_tab_contents.cc b/chrome/browser/tab_contents/test_tab_contents.cc
index 9e1cad0..86c62fd 100644
--- a/chrome/browser/tab_contents/test_tab_contents.cc
+++ b/chrome/browser/tab_contents/test_tab_contents.cc
@@ -50,8 +50,7 @@ TestRenderViewHost* TestTabContents::pending_rvh() {
bool TestTabContents::CreateRenderViewForRenderManager(
RenderViewHost* render_view_host) {
// This will go to a TestRenderViewHost.
- render_view_host->CreateRenderView(profile()->GetRequestContext(),
- string16());
+ render_view_host->CreateRenderView(string16());
return true;
}