Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1517)

Unified Diff: ppapi/proxy/plugin_main_irt.cc

Issue 200283002: Fix the crash for the AudioShared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@open_resource3
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_audio_shared.h » ('j') | ppapi/shared_impl/ppb_audio_shared.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_main_irt.cc
diff --git a/ppapi/proxy/plugin_main_irt.cc b/ppapi/proxy/plugin_main_irt.cc
index 6d576bea0f158da735920cfe06f2950423b7f537..556cd8e284f59a6c3317cebce5e98f3334e57db9 100644
--- a/ppapi/proxy/plugin_main_irt.cc
+++ b/ppapi/proxy/plugin_main_irt.cc
@@ -316,15 +316,9 @@ void SetIPCFileDescriptors(int ipc_browser_fd, int ipc_renderer_fd) {
void PpapiPluginRegisterThreadCreator(
const struct PP_ThreadFunctions* thread_functions) {
-#if defined(__native_client__)
- // TODO(hidehiko): The thread creation for the PPB_Audio is not yet
- // implemented on non-SFI mode. Support this. Now, this function invocation
- // is just ignored.
-
// Initialize all classes that need to create threads that call back into
// user code.
ppapi::PPB_Audio_Shared::SetThreadFunctions(thread_functions);
-#endif
}
int PpapiPluginMain() {
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_audio_shared.h » ('j') | ppapi/shared_impl/ppb_audio_shared.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698