Index: ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc |
=================================================================== |
--- ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc (revision 140787) |
+++ ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc (working copy) |
@@ -15,19 +15,10 @@ |
namespace { |
bool CreateThreadAdapterForInstance(PP_Instance instance) { |
- EnterInstance enter(instance); |
- if (enter.failed()) |
- return false; |
- return enter.functions()->GetFlashAPI()->CreateThreadAdapterForInstance( |
- instance); |
+ return true; |
yzshen1
2012/06/07 17:38:34
This is not true for in-process mode, right?
So we
|
} |
void ClearThreadAdapterForInstance(PP_Instance instance) { |
- EnterInstance enter(instance); |
- if (enter.succeeded()) { |
- return enter.functions()->GetFlashAPI()->ClearThreadAdapterForInstance( |
- instance); |
- } |
} |
int32_t OpenFile(PP_Instance instance, |