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

Unified Diff: ppapi/thunk/ppb_image_data_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, 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
Index: ppapi/thunk/ppb_image_data_thunk.cc
diff --git a/ppapi/thunk/ppb_image_data_thunk.cc b/ppapi/thunk/ppb_image_data_thunk.cc
index 6370185f6fafff0f85720bc68b9e00064dbf1aae..c1baf9ee913055b5c9c415bc1385bb5a2a44143c 100644
--- a/ppapi/thunk/ppb_image_data_thunk.cc
+++ b/ppapi/thunk/ppb_image_data_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_image_data.idl modified Tue Aug 20 08:13:36 2013.
+// From ppb_image_data.idl modified Tue May 7 14:43:00 2013.
#include <string.h>
@@ -37,10 +37,8 @@ PP_Resource Create(PP_Instance instance,
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
- return enter.functions()->CreateImageData(instance,
- format,
- size,
- init_to_zero);
+ return enter.functions()->CreateImageData(
+ instance, format, size, init_to_zero);
}
PP_Bool IsImageData(PP_Resource image_data) {
@@ -75,14 +73,14 @@ void Unmap(PP_Resource image_data) {
enter.object()->Unmap();
}
-const PPB_ImageData_1_0 g_ppb_imagedata_thunk_1_0 = {
- &GetNativeImageDataFormat,
- &IsImageDataFormatSupported,
- &Create,
- &IsImageData,
- &Describe,
- &Map,
- &Unmap
+const PPB_ImageData_1_0 g_ppb_imagedata_thunk_1_0 = { //
+ &GetNativeImageDataFormat, //
+ &IsImageDataFormatSupported, //
+ &Create, //
+ &IsImageData, //
+ &Describe, //
+ &Map, //
+ &Unmap //
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698