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 79ad4e5f85f502e1369b407da52bbbae6dc8aa1c..85e494b2e77b81aca97c03f704532f58a86ca31b 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h |
@@ -77,14 +77,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_ |