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

Unified Diff: ppapi/shared_impl/ppb_flash_shared.cc

Issue 10169040: Move the rest of the Flash functions to the thunk system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « ppapi/shared_impl/ppb_flash_shared.h ('k') | ppapi/thunk/interfaces_ppb_private_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_flash_shared.cc
diff --git a/ppapi/shared_impl/ppb_flash_shared.cc b/ppapi/shared_impl/ppb_flash_shared.cc
index c0504bf6a7fed933efb80a9344c6b472a79dd540..e78392cc58027829d69584e663077408bc17ee40 100644
--- a/ppapi/shared_impl/ppb_flash_shared.cc
+++ b/ppapi/shared_impl/ppb_flash_shared.cc
@@ -12,6 +12,14 @@ PPB_Flash_Shared::PPB_Flash_Shared() {
PPB_Flash_Shared::~PPB_Flash_Shared() {
}
+void PPB_Flash_Shared::FreeDirContents(PP_Instance instance,
+ PP_DirContents_Dev* contents) {
+ for (int32_t i = 0; i < contents->count; ++i)
+ delete[] contents->entries[i].name;
+ delete[] contents->entries;
+ delete contents;
+}
+
// static
bool PPB_Flash_Shared::IsValidClipboardType(
PP_Flash_Clipboard_Type clipboard_type) {
« no previous file with comments | « ppapi/shared_impl/ppb_flash_shared.h ('k') | ppapi/thunk/interfaces_ppb_private_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698