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

Unified Diff: ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc

Issue 10540057: Cleanup - remove ModuleLocalThreadAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
« ppapi/proxy/ppb_flash_proxy.cc ('K') | « ppapi/thunk/ppb_flash_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« ppapi/proxy/ppb_flash_proxy.cc ('K') | « ppapi/thunk/ppb_flash_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698