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

Unified Diff: ppapi/shared_impl/ppb_var_shared.cc

Issue 9022021: Proxy PPB_ArrayBuffer_Dev, make them work over Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add testing for multiple sizes of array. Created 9 years 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/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..166786b5d749ceffa0c2bd023b6b1476d2a2a45d 100644
--- a/ppapi/shared_impl/ppb_var_shared.cc
+++ b/ppapi/shared_impl/ppb_var_shared.cc
@@ -70,7 +70,7 @@ const PPB_Var_1_0 var_interface1_0 = {
// PPB_VarArrayBuffer_Dev methods ----------------------------------------------
-PP_Var CreateArrayBufferVar(uint32_t size_in_bytes) {
+PP_Var CreateArrayBuffer(uint32_t size_in_bytes) {
return PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferPPVar(
size_in_bytes);
}
@@ -90,7 +90,7 @@ void* Map(struct PP_Var array) {
}
const PPB_VarArrayBuffer_Dev var_arraybuffer_interface = {
- &CreateArrayBufferVar,
+ &CreateArrayBuffer,
&ByteLength,
&Map
};

Powered by Google App Engine
This is Rietveld 408576698