Chromium Code Reviews| Index: ppapi/proxy/plugin_dispatcher.cc |
| diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc |
| index 931471354e3e14239a534b3dde3bbd01c7876aa4..af1dee8e22818b33945a15ace83a3ded2ea4e560 100644 |
| --- a/ppapi/proxy/plugin_dispatcher.cc |
| +++ b/ppapi/proxy/plugin_dispatcher.cc |
| @@ -99,6 +99,8 @@ PluginDispatcher* PluginDispatcher::GetForResource(const Resource* resource) { |
| // static |
| const void* PluginDispatcher::GetBrowserInterface(const char* interface_name) { |
| + DCHECK(interface_name) << "|interface_name| is null. Did you forget to add " |
| + "the |interface_name()| template function to the interfaces C++ wrapper?"; |
|
dmichael (off chromium)
2012/07/23 18:20:09
nit: interfaces->interface's?
raymes
2012/07/24 00:37:08
Done.
|
| return InterfaceList::GetInstance()->GetInterfaceForPPB(interface_name); |
| } |