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

Unified Diff: ppapi/shared_impl/ppb_var_shared.cc

Issue 9107046: PPAPI: Move PPB_ArrayBuffer out of Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp file, use 1_0 Created 8 years, 11 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/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 7b0ffb468f78aec461a337557d1deef054894043..85a931b6645ec582653d91df48ecc0bc420f237b 100644
--- a/ppapi/shared_impl/ppb_var_shared.cc
+++ b/ppapi/shared_impl/ppb_var_shared.cc
@@ -6,8 +6,8 @@
#include <limits>
-#include "ppapi/c/dev/ppb_var_array_buffer_dev.h"
#include "ppapi/c/ppb_var.h"
+#include "ppapi/c/ppb_var_array_buffer.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/shared_impl/ppapi_globals.h"
#include "ppapi/shared_impl/proxy_lock.h"
@@ -68,7 +68,7 @@ const PPB_Var_1_0 var_interface1_0 = {
};
-// PPB_VarArrayBuffer_Dev methods ----------------------------------------------
+// PPB_VarArrayBuffer methods --------------------------------------------------
PP_Var CreateArrayBufferVar(uint32_t size_in_bytes) {
return PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferPPVar(
@@ -89,7 +89,7 @@ void* Map(PP_Var array) {
return buffer->Map();
}
-const PPB_VarArrayBuffer_Dev var_arraybuffer_interface = {
+const PPB_VarArrayBuffer_1_0 var_arraybuffer_interface = {
&CreateArrayBufferVar,
&ByteLength,
&Map
@@ -108,7 +108,7 @@ const PPB_Var_1_0* PPB_Var_Shared::GetVarInterface1_0() {
}
// static
-const PPB_VarArrayBuffer_Dev* PPB_Var_Shared::GetVarArrayBufferInterface() {
+const PPB_VarArrayBuffer_1_0* PPB_Var_Shared::GetVarArrayBufferInterface1_0() {
return &var_arraybuffer_interface;
}

Powered by Google App Engine
This is Rietveld 408576698