Index: content/browser/plugin_service_impl.cc |
=================================================================== |
--- content/browser/plugin_service_impl.cc (revision 179992) |
+++ content/browser/plugin_service_impl.cc (working copy) |
@@ -186,10 +186,7 @@ |
KEY_NOTIFY) == ERROR_SUCCESS) { |
if (hkcu_key_.StartWatching() == ERROR_SUCCESS) { |
hkcu_event_.reset(new base::WaitableEvent(hkcu_key_.watch_event())); |
- base::WaitableEventWatcher::EventCallback callback = |
- base::Bind(&PluginServiceImpl::OnWaitableEventSignaled, |
- base::Unretained(this)); |
- hkcu_watcher_.StartWatching(hkcu_event_.get(), callback); |
+ hkcu_watcher_.StartWatching(hkcu_event_.get(), this); |
} |
} |
if (hklm_key_.Create(HKEY_LOCAL_MACHINE, |
@@ -197,10 +194,7 @@ |
KEY_NOTIFY) == ERROR_SUCCESS) { |
if (hklm_key_.StartWatching() == ERROR_SUCCESS) { |
hklm_event_.reset(new base::WaitableEvent(hklm_key_.watch_event())); |
- base::WaitableEventWatcher::EventCallback callback = |
- base::Bind(&PluginServiceImpl::OnWaitableEventSignaled, |
- base::Unretained(this)); |
- hklm_watcher_.StartWatching(hklm_event_.get(), callback); |
+ hklm_watcher_.StartWatching(hklm_event_.get(), this); |
} |
} |
#endif |