| Index: ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_flash_clipboard_thunk.cc b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| index 95e4ba55c81936e3c4123662cd240ec9cf86b2cd..9a477a24e4e886f2a6a5085cef046c77f30217cc 100644
|
| --- a/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| +++ b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
|
| @@ -14,8 +14,7 @@ namespace thunk {
|
|
|
| namespace {
|
|
|
| -uint32_t RegisterCustomFormat(PP_Instance instance,
|
| - const char* format_name) {
|
| +uint32_t RegisterCustomFormat(PP_Instance instance, const char* format_name) {
|
| EnterInstanceAPI<PPB_Flash_Clipboard_API> enter(instance);
|
| if (enter.failed())
|
| return PP_FALSE;
|
| @@ -55,8 +54,8 @@ int32_t WriteData(PP_Instance instance,
|
| PP_Bool IsFormatAvailable_4_0(PP_Instance instance,
|
| PP_Flash_Clipboard_Type clipboard_type,
|
| PP_Flash_Clipboard_Format format) {
|
| - return IsFormatAvailable(instance, clipboard_type,
|
| - static_cast<uint32_t>(format));
|
| + return IsFormatAvailable(
|
| + instance, clipboard_type, static_cast<uint32_t>(format));
|
| }
|
|
|
| PP_Var ReadData_4_0(PP_Instance instance,
|
| @@ -73,8 +72,8 @@ int32_t WriteData_4_0(PP_Instance instance,
|
| scoped_ptr<uint32_t[]> new_formats(new uint32_t[data_item_count]);
|
| for (uint32_t i = 0; i < data_item_count; ++i)
|
| new_formats[i] = static_cast<uint32_t>(formats[i]);
|
| - return WriteData(instance, clipboard_type, data_item_count,
|
| - new_formats.get(), data_items);
|
| + return WriteData(
|
| + instance, clipboard_type, data_item_count, new_formats.get(), data_items);
|
| }
|
|
|
| PP_Bool GetSequenceNumber(PP_Instance instance,
|
| @@ -83,30 +82,19 @@ PP_Bool GetSequenceNumber(PP_Instance instance,
|
| EnterInstanceAPI<PPB_Flash_Clipboard_API> enter(instance);
|
| if (enter.failed())
|
| return PP_FALSE;
|
| - return enter.functions()->GetSequenceNumber(instance, clipboard_type,
|
| - sequence_number);
|
| + return enter.functions()->GetSequenceNumber(
|
| + instance, clipboard_type, sequence_number);
|
| }
|
|
|
| const PPB_Flash_Clipboard_4_0 g_ppb_flash_clipboard_thunk_4_0 = {
|
| - &IsFormatAvailable_4_0,
|
| - &ReadData_4_0,
|
| - &WriteData_4_0
|
| -};
|
| + &IsFormatAvailable_4_0, &ReadData_4_0, &WriteData_4_0};
|
|
|
| const PPB_Flash_Clipboard_5_0 g_ppb_flash_clipboard_thunk_5_0 = {
|
| - &RegisterCustomFormat,
|
| - &IsFormatAvailable,
|
| - &ReadData,
|
| - &WriteData
|
| -};
|
| + &RegisterCustomFormat, &IsFormatAvailable, &ReadData, &WriteData};
|
|
|
| const PPB_Flash_Clipboard_5_1 g_ppb_flash_clipboard_thunk_5_1 = {
|
| - &RegisterCustomFormat,
|
| - &IsFormatAvailable,
|
| - &ReadData,
|
| - &WriteData,
|
| - &GetSequenceNumber
|
| -};
|
| + &RegisterCustomFormat, &IsFormatAvailable, &ReadData, &WriteData,
|
| + &GetSequenceNumber};
|
|
|
| } // namespace
|
|
|
|
|