diff options
Diffstat (limited to 'chrome_frame/chrome_frame_activex_base.h')
-rw-r--r-- | chrome_frame/chrome_frame_activex_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h index 4f48c89..510de4c 100644 --- a/chrome_frame/chrome_frame_activex_base.h +++ b/chrome_frame/chrome_frame_activex_base.h @@ -786,7 +786,7 @@ END_MSG_MAP() return hr; DCHECK(handlers != NULL); - std::remove(handlers->begin(), handlers->end(), listener); + handlers->erase(base::win::ScopedComPtr<IDispatch>(listener)); return hr; } |