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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 3036038: ChromeFrame currently overrides the request context for intercepting network ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 54821)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -1359,10 +1359,6 @@
tab_close_start_time_ = base::TimeTicks::Now();
}
-void TabContents::set_request_context(URLRequestContextGetter* context) {
- request_context_ = context;
-}
-
bool TabContents::ShouldAcceptDragAndDrop() const {
#if defined(OS_CHROMEOS)
// ChromeOS panels (pop-ups) do not take drag-n-drop.
@@ -2974,11 +2970,7 @@
RenderViewHost* render_view_host) {
RenderWidgetHostView* rwh_view = view_->CreateViewForWidget(render_view_host);
- scoped_refptr<URLRequestContextGetter> request_context = request_context_;
- if (!request_context.get())
- request_context = profile()->GetRequestContext();
-
- if (!render_view_host->CreateRenderView(request_context, string16()))
+ if (!render_view_host->CreateRenderView(string16()))
return false;
// Now that the RenderView has been created, we need to tell it its size.

Powered by Google App Engine
This is Rietveld 408576698