Index: ppapi/shared_impl/ppb_var_shared.cc |
diff --git a/ppapi/shared_impl/ppb_var_shared.cc b/ppapi/shared_impl/ppb_var_shared.cc |
index 554981827d56f085918af8d4a03ad24036207b0a..6a540d2f2c1f89d9cf6a5e2e3048d99672a61cb5 100644 |
--- a/ppapi/shared_impl/ppb_var_shared.cc |
+++ b/ppapi/shared_impl/ppb_var_shared.cc |
@@ -75,14 +75,14 @@ PP_Var CreateArrayBufferVar(uint32_t size_in_bytes) { |
size_in_bytes); |
} |
-uint32_t ByteLength(struct PP_Var array) { |
+uint32_t ByteLength(PP_Var array) { |
ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(array); |
if (!buffer) |
return 0; |
return buffer->ByteLength(); |
} |
-void* Map(struct PP_Var array) { |
+void* Map(PP_Var array) { |
ArrayBufferVar* buffer = ArrayBufferVar::FromPPVar(array); |
if (!buffer) |
return NULL; |
@@ -98,7 +98,7 @@ const PPB_VarArrayBuffer_Dev var_arraybuffer_interface = { |
} // namespace |
// static |
-const PPB_Var* PPB_Var_Shared::GetVarInterface() { |
+const PPB_Var_1_1* PPB_Var_Shared::GetVarInterface1_1() { |
return &var_interface; |
} |
@@ -113,4 +113,3 @@ const PPB_VarArrayBuffer_Dev* PPB_Var_Shared::GetVarArrayBufferInterface() { |
} |
} // namespace ppapi |
- |