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

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: minor fixes 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
« no previous file with comments | « ppapi/shared_impl/ppb_var_shared.h ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3fb1c037fb32a10e97376c0f8234906b8d37f5c1..107058ac8b99af44bcc3c13e659006d8e15a1291 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(
@@ -96,7 +96,7 @@ void Unmap(PP_Var array) {
buffer->Unmap();
}
-const PPB_VarArrayBuffer_Dev var_arraybuffer_interface = {
+const PPB_VarArrayBuffer_1_0 var_arraybuffer_interface = {
&CreateArrayBufferVar,
&ByteLength,
&Map,
@@ -116,8 +116,8 @@ const PPB_Var_1_0* PPB_Var_Shared::GetVarInterface1_0() {
}
// static
-const PPB_VarArrayBuffer_Dev* PPB_Var_Shared::GetVarArrayBufferInterface() {
- return &var_arraybuffer_interface;
+const PPB_VarArrayBuffer_1_0* PPB_Var_Shared::GetVarArrayBufferInterface1_0() {
+ return &var_arraybuffer_interface;
}
} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/ppb_var_shared.h ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698