summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/extension_port_container.cc
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 00:01:03 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 00:01:03 +0000
commit3ca29e2d2844eef858a635a32e34e298ceea0b10 (patch)
tree3e5135001307b0110fc5e4afceec74fe5d5ebf2d /chrome/browser/automation/extension_port_container.cc
parente0411ae51dad04edaab9365590ce47161606af0e (diff)
downloadchromium_src-3ca29e2d2844eef858a635a32e34e298ceea0b10.zip
chromium_src-3ca29e2d2844eef858a635a32e34e298ceea0b10.tar.gz
chromium_src-3ca29e2d2844eef858a635a32e34e298ceea0b10.tar.bz2
Send port disconnect events when a frame is unloaded.
This is the other half of CL http://codereview.chromium.org/125280, which I split into http://codereview.chromium.org/147033 and this CL. BUG=12686 TEST=no Review URL: http://codereview.chromium.org/150125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/extension_port_container.cc')
-rw-r--r--chrome/browser/automation/extension_port_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/extension_port_container.cc b/chrome/browser/automation/extension_port_container.cc
index 15c2c8e..581da75 100644
--- a/chrome/browser/automation/extension_port_container.cc
+++ b/chrome/browser/automation/extension_port_container.cc
@@ -34,7 +34,7 @@ ExtensionPortContainer::~ExtensionPortContainer() {
DCHECK_EQ(MessageLoop::current()->type(), MessageLoop::TYPE_UI);
if (port_id_ != -1)
- service_->CloseAutomationChannel(port_id_);
+ service_->CloseChannel(port_id_);
}
bool ExtensionPortContainer::PostResponseToExternalPort(