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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc

Issue 9022021: Proxy PPB_ArrayBuffer_Dev, make them work over Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment. Created 8 years, 12 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/native_client/src/shared/ppapi_proxy/browser_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
index 5167dce5de9816c600567ae512b2535075d8ed25..ec3c9ca24e7abe51cec41f416b58ac651cae22ed 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -311,6 +311,13 @@ const PPB_Var* PPBVarInterface() {
return ppb;
}
+const PPB_VarArrayBuffer_Dev* PPBVarArrayBufferInterface() {
+ static const PPB_VarArrayBuffer_Dev* ppb =
+ static_cast<const PPB_VarArrayBuffer_Dev*>(
+ GetBrowserInterfaceSafe(PPB_VAR_ARRAY_BUFFER_DEV_INTERFACE));
+ return ppb;
+}
+
const PPB_WheelInputEvent* PPBWheelInputEventInterface() {
static const PPB_WheelInputEvent* ppb =
static_cast<const PPB_WheelInputEvent*>(

Powered by Google App Engine
This is Rietveld 408576698