Index: content/renderer/pepper/ppb_buffer_impl.cc |
diff --git a/content/renderer/pepper/ppb_buffer_impl.cc b/content/renderer/pepper/ppb_buffer_impl.cc |
index 4b806b94421f068f07d86b294745fd446c544252..453e71687194b387b3e8845c0479b2344597def5 100644 |
--- a/content/renderer/pepper/ppb_buffer_impl.cc |
+++ b/content/renderer/pepper/ppb_buffer_impl.cc |
@@ -20,13 +20,9 @@ using ppapi::thunk::PPB_Buffer_API; |
namespace content { |
PPB_Buffer_Impl::PPB_Buffer_Impl(PP_Instance instance) |
- : Resource(ppapi::OBJECT_IS_IMPL, instance), |
- size_(0), |
- map_count_(0) { |
-} |
+ : Resource(ppapi::OBJECT_IS_IMPL, instance), size_(0), map_count_(0) {} |
-PPB_Buffer_Impl::~PPB_Buffer_Impl() { |
-} |
+PPB_Buffer_Impl::~PPB_Buffer_Impl() {} |
// static |
PP_Resource PPB_Buffer_Impl::Create(PP_Instance instance, uint32_t size) { |
@@ -46,13 +42,9 @@ scoped_refptr<PPB_Buffer_Impl> PPB_Buffer_Impl::CreateResource( |
return buffer; |
} |
-PPB_Buffer_Impl* PPB_Buffer_Impl::AsPPB_Buffer_Impl() { |
- return this; |
-} |
+PPB_Buffer_Impl* PPB_Buffer_Impl::AsPPB_Buffer_Impl() { return this; } |
-PPB_Buffer_API* PPB_Buffer_Impl::AsPPB_Buffer_API() { |
- return this; |
-} |
+PPB_Buffer_API* PPB_Buffer_Impl::AsPPB_Buffer_API() { return this; } |
bool PPB_Buffer_Impl::Init(uint32_t size) { |
if (size == 0) |
@@ -89,8 +81,7 @@ int32_t PPB_Buffer_Impl::GetSharedMemory(int* shm_handle) { |
#if defined(OS_POSIX) |
*shm_handle = shared_memory_->handle().fd; |
#elif defined(OS_WIN) |
- *shm_handle = reinterpret_cast<int>( |
- shared_memory_->handle()); |
+ *shm_handle = reinterpret_cast<int>(shared_memory_->handle()); |
#else |
#error "Platform not supported." |
#endif |