diff options
Diffstat (limited to 'ppapi/proxy/ppapi_proxy_test.cc')
-rw-r--r-- | ppapi/proxy/ppapi_proxy_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc index 5a7867d..14362d9 100644 --- a/ppapi/proxy/ppapi_proxy_test.cc +++ b/ppapi/proxy/ppapi_proxy_test.cc @@ -65,8 +65,7 @@ PPB_Proxy_Private ppb_proxy_private = { ObserverList<ProxyTestHarnessBase> get_interface_handlers_; const void* MockGetInterface(const char* name) { - ObserverList<ProxyTestHarnessBase>::Iterator it = - get_interface_handlers_; + ObserverList<ProxyTestHarnessBase>::Iterator it(&get_interface_handlers_); while (ProxyTestHarnessBase* observer = it.GetNext()) { const void* interface = observer->GetInterface(name); if (interface) |