Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc |
index 5416468dd5b0d936f72207f69ac31c745e5ae24d..1aef64200f1aa2bd6efb21b0db39b78e8334986d 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc |
@@ -90,6 +90,11 @@ const PPB_VarArrayBuffer_Dev* PPBVarArrayBufferInterface() { |
GetBrowserInterfaceSafe(PPB_VAR_ARRAY_BUFFER_DEV_INTERFACE)); |
} |
+const PPB_WebSocket_Dev* PPBWebSocketInterface() { |
+ return static_cast<const PPB_WebSocket_Dev*>( |
+ GetBrowserInterfaceSafe(PPB_WEBSOCKET_DEV_INTERFACE)); |
+} |
+ |
// Plugin interface helpers |
const void* GetPluginInterface(const char* interface_name) { |