Index: ppapi/native_client/tests/earth/pepper_c.c |
diff --git a/ppapi/native_client/tests/earth/pepper_c.c b/ppapi/native_client/tests/earth/pepper_c.c |
index 697675d8f8f2c75e76d3a5081f534b1a1e12f6dd..d43eb1ec044827adfdf3b427e484efb597dd8c77 100644 |
--- a/ppapi/native_client/tests/earth/pepper_c.c |
+++ b/ppapi/native_client/tests/earth/pepper_c.c |
@@ -42,10 +42,10 @@ PPB_GetInterface g_get_browser_interface = NULL; |
* Native Client. |
*/ |
struct PepperState { |
- const struct PPB_Core* core_interface; |
- const struct PPB_Graphics2D* graphics_2d_interface; |
- const struct PPB_ImageData* image_data_interface; |
- const struct PPB_Instance* instance_interface; |
+ const PPB_Core* core_interface; |
+ const PPB_Graphics2D* graphics_2d_interface; |
+ const PPB_ImageData* image_data_interface; |
+ const PPB_Instance* instance_interface; |
PP_Resource device_context; |
int32_t which_image; |
PP_Resource image[NUMBER_OF_IMAGES]; |
@@ -183,7 +183,7 @@ static PP_Bool Instance_HandleDocumentLoad(PP_Instance pp_instance, |
return PP_FALSE; |
} |
-static struct PPP_Instance instance_interface = { |
+static PPP_Instance instance_interface = { |
&Instance_DidCreate, |
&Instance_DidDestroy, |
&Instance_DidChangeView, |
@@ -198,13 +198,13 @@ PP_EXPORT int32_t PPP_InitializeModule(PP_Module module, |
PPB_GetInterface get_browser_interface) { |
g_get_browser_interface = get_browser_interface; |
- g_MyState.core_interface = (const struct PPB_Core*) |
+ g_MyState.core_interface = (const PPB_Core*) |
get_browser_interface(PPB_CORE_INTERFACE); |
- g_MyState.instance_interface = (const struct PPB_Instance*) |
+ g_MyState.instance_interface = (const PPB_Instance*) |
get_browser_interface(PPB_INSTANCE_INTERFACE); |
- g_MyState.image_data_interface = (const struct PPB_ImageData*) |
+ g_MyState.image_data_interface = (const PPB_ImageData*) |
get_browser_interface(PPB_IMAGEDATA_INTERFACE); |
- g_MyState.graphics_2d_interface = (const struct PPB_Graphics2D*) |
+ g_MyState.graphics_2d_interface = (const PPB_Graphics2D*) |
get_browser_interface(PPB_GRAPHICS_2D_INTERFACE); |
if (!g_MyState.core_interface || |
!g_MyState.instance_interface || |