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

Unified Diff: chrome/browser/external_tab_container.cc

Issue 332006: Remove the restriction that ChromeURLRequestContextGetter needs to be release... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to latest changes Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/automation/automation_profile_impl.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container.cc
===================================================================
--- chrome/browser/external_tab_container.cc (revision 32405)
+++ chrome/browser/external_tab_container.cc (working copy)
@@ -172,10 +172,7 @@
tab_contents_ = NULL;
}
- if (request_context_.get()) {
- AutomationRequestContext::CleanupRequestContext(
- request_context_.release());
- }
+ request_context_ = NULL;
}
bool ExternalTabContainer::Reinitialize(
@@ -699,11 +696,6 @@
void ExternalTabContainer::InitializeAutomationRequestContext(
int tab_handle) {
- if (request_context_.get()) {
- AutomationRequestContext::CleanupRequestContext(
- request_context_.release());
- }
-
request_context_ =
AutomationRequestContext::CreateAutomationURLRequestContextForTab(
tab_handle, tab_contents_->profile(),
« no previous file with comments | « chrome/browser/automation/automation_profile_impl.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698