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

Unified Diff: ppapi/shared_impl/ppb_memory_shared.cc

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 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_instance_shared.cc ('k') | ppapi/shared_impl/ppb_message_loop_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_memory_shared.cc
diff --git a/ppapi/shared_impl/ppb_memory_shared.cc b/ppapi/shared_impl/ppb_memory_shared.cc
index 57d52f037c489820c7fb1611d1fb3c851c30c279..aaf5f368126e3c33f03e7d9ef71246f2735f8310 100644
--- a/ppapi/shared_impl/ppb_memory_shared.cc
+++ b/ppapi/shared_impl/ppb_memory_shared.cc
@@ -16,18 +16,11 @@ namespace ppapi {
namespace {
-void* MemAlloc(uint32_t num_bytes) {
- return malloc(num_bytes);
-}
+void* MemAlloc(uint32_t num_bytes) { return malloc(num_bytes); }
-void MemFree(void* ptr) {
- free(ptr);
-}
+void MemFree(void* ptr) { free(ptr); }
-const PPB_Memory_Dev ppb_memory = {
- &MemAlloc,
- &MemFree
-};
+const PPB_Memory_Dev ppb_memory = {&MemAlloc, &MemFree};
} // namespace
« no previous file with comments | « ppapi/shared_impl/ppb_instance_shared.cc ('k') | ppapi/shared_impl/ppb_message_loop_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698