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

Unified Diff: ppapi/thunk/ppb_file_mapping_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 1 month 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/thunk/ppb_file_io_thunk.cc ('k') | ppapi/thunk/ppb_file_system_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_file_mapping_thunk.cc
diff --git a/ppapi/thunk/ppb_file_mapping_thunk.cc b/ppapi/thunk/ppb_file_mapping_thunk.cc
index bdf29ca06e869af058420fb4e20d4f9ee3a5a882..627b497b8459dddf8dd6154cc78b25b786919deb 100644
--- a/ppapi/thunk/ppb_file_mapping_thunk.cc
+++ b/ppapi/thunk/ppb_file_mapping_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_file_mapping.idl modified Mon Jan 27 11:00:43 2014.
+// From ppb_file_mapping.idl modified Mon Apr 7 08:55:47 2014.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -29,14 +29,9 @@ int32_t Map(PP_Instance instance,
EnterInstanceAPI<PPB_FileMapping_API> enter(instance, callback);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.functions()->Map(instance,
- file_io,
- length,
- map_protection,
- map_flags,
- offset,
- address,
- enter.callback()));
+ return enter.SetResult(
+ enter.functions()->Map(instance, file_io, length, map_protection,
+ map_flags, offset, address, enter.callback()));
}
int32_t Unmap(PP_Instance instance,
@@ -47,10 +42,8 @@ int32_t Unmap(PP_Instance instance,
EnterInstanceAPI<PPB_FileMapping_API> enter(instance, callback);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.functions()->Unmap(instance,
- address,
- length,
- enter.callback()));
+ return enter.SetResult(
+ enter.functions()->Unmap(instance, address, length, enter.callback()));
}
int64_t GetMapPageSize(PP_Instance instance) {
@@ -61,11 +54,9 @@ int64_t GetMapPageSize(PP_Instance instance) {
return enter.functions()->GetMapPageSize(instance);
}
-const PPB_FileMapping_0_1 g_ppb_filemapping_thunk_0_1 = {
- &Map,
- &Unmap,
- &GetMapPageSize
-};
+const PPB_FileMapping_0_1 g_ppb_filemapping_thunk_0_1 = {&Map,
+ &Unmap,
+ &GetMapPageSize};
} // namespace
« no previous file with comments | « ppapi/thunk/ppb_file_io_thunk.cc ('k') | ppapi/thunk/ppb_file_system_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698