Chromium Code Reviews| Index: ppapi/proxy/ppapi_proxy_test.cc |
| diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc |
| index eb7b440c273d273b7ed202542d577443c95b780f..936261893b813587c21b067265bb074f36e1c0a9 100644 |
| --- a/ppapi/proxy/ppapi_proxy_test.cc |
| +++ b/ppapi/proxy/ppapi_proxy_test.cc |
| @@ -63,9 +63,9 @@ const void* MockGetInterface(const char* name) { |
| ObserverList<ProxyTestHarnessBase>::Iterator it = |
| get_interface_handlers_; |
| while (ProxyTestHarnessBase* observer = it.GetNext()) { |
| - const void* interface = observer->GetInterface(name); |
| - if (interface) |
| - return interface; |
| + const void* iface = observer->GetInterface(name); |
|
jeanluc1
2011/08/22 22:20:24
I find the abbreviation 'iface' cryptic. I would
Jói
2011/08/24 13:56:33
Done.
|
| + if (iface) |
| + return iface; |
| } |
| if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) |
| return &ppb_proxy_private; |
| @@ -106,8 +106,8 @@ const void* ProxyTestHarnessBase::GetInterface(const char* name) { |
| } |
| void ProxyTestHarnessBase::RegisterTestInterface(const char* name, |
| - const void* interface) { |
| - registered_interfaces_[name] = interface; |
| + const void* iface) { |
|
jeanluc1
2011/08/22 22:20:24
I find the abbreviation 'iface' cryptic. I would
Jói
2011/08/24 13:56:33
Done, changed header file too.
|
| + registered_interfaces_[name] = iface; |
| } |
| bool ProxyTestHarnessBase::SupportsInterface(const char* name) { |