Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
index e23cd9d51591bd25f096aac80f037512cc6ace62..600f0985d58a86d7f61c0c3301e7443e61b1cacc 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
@@ -81,14 +81,6 @@ const struct PP_ThreadFunctions* GetThreadCreator(); |
// PPAPI constants used in the proxy. |
extern const PP_Resource kInvalidResourceId; |
-// The following function TotalSharedMemorySizeInBytes, is copied & similar |
-// to the one in audio_util.cc. This function includes optional fields |
-// stored at the end of the audio buffer. |
-inline size_t TotalAudioSharedMemorySizeInBytes(size_t audio_buffer_size) { |
- // Include optional field that communicates the number of bytes written. |
- return audio_buffer_size + sizeof(uint32_t); |
-} |
- |
} // namespace ppapi_proxy |
#endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_ |