| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ppapi/shared_impl/ppb_flash_shared.h" | 5 #include "ppapi/shared_impl/ppb_flash_shared.h" |
| 6 | 6 |
| 7 namespace ppapi { | 7 namespace ppapi { |
| 8 | 8 |
| 9 PPB_Flash_Shared::PPB_Flash_Shared() { | 9 PPB_Flash_Shared::PPB_Flash_Shared() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 PPB_Flash_Shared::~PPB_Flash_Shared() { | 12 PPB_Flash_Shared::~PPB_Flash_Shared() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 void PPB_Flash_Shared::FreeDirContents(PP_Instance instance, | 15 void PPB_Flash_Shared::FreeDirContents(PP_Instance instance, |
| 16 PP_DirContents_Dev* contents) { | 16 PP_DirContents_Dev* contents) { |
| 17 for (int32_t i = 0; i < contents->count; ++i) | 17 for (int32_t i = 0; i < contents->count; ++i) |
| 18 delete[] contents->entries[i].name; | 18 delete[] contents->entries[i].name; |
| 19 delete[] contents->entries; | 19 delete[] contents->entries; |
| 20 delete contents; | 20 delete contents; |
| 21 } | 21 } |
| 22 | 22 |
| 23 } // namespace ppapi | 23 } // namespace ppapi |
| OLD | NEW |