| Index: chrome/browser/extensions/api/socket/socket_api.cc
|
| diff --git a/chrome/browser/extensions/api/socket/socket_api.cc b/chrome/browser/extensions/api/socket/socket_api.cc
|
| index 98fa6f29841c1bbda492a78be1e28da8e5e5f001..b8adcecc89deecb113b9f11e0c9a7cf523cbe12e 100644
|
| --- a/chrome/browser/extensions/api/socket/socket_api.cc
|
| +++ b/chrome/browser/extensions/api/socket/socket_api.cc
|
| @@ -80,7 +80,7 @@ bool SocketDestroyFunction::Prepare() {
|
| }
|
|
|
| void SocketDestroyFunction::Work() {
|
| - if (!controller()->RemoveAPIResource(socket_id_))
|
| + if (!controller()->RemoveSocket(socket_id_))
|
| error_ = kSocketNotFoundError;
|
| }
|
|
|
|
|