| 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(),
|
|
|