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

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 10386145: Add the necessary plumbing mechanisms to ensure proper WebGL support inside the <browser> tag, whic… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments; remove createOffscreenGraphicsContext3D Created 8 years, 7 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/proxy/resource_creation_proxy.cc
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index de5373548ef34f78e19163cc8cc2d034a43ebd7e..5cbe8fe423fb1d7da0e6c074282f7a360e2d4a45 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -44,6 +44,7 @@
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/ppb_image_data_api.h"
+using ppapi::thunk::PPB_Graphics3D_API;
using ppapi::thunk::ResourceCreationAPI;
namespace ppapi {
@@ -284,7 +285,7 @@ PP_Resource ResourceCreationProxy::CreateNetworkMonitor(
PP_Resource ResourceCreationProxy::CreateGraphics3D(
PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) {
return PPB_Graphics3D_Proxy::CreateProxyResource(
instance, share_context, attrib_list);
@@ -292,7 +293,7 @@ PP_Resource ResourceCreationProxy::CreateGraphics3D(
PP_Resource ResourceCreationProxy::CreateGraphics3DRaw(
PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) {
// Not proxied. The raw creation function is used only in the implementation
// of the proxy on the host side.

Powered by Google App Engine
This is Rietveld 408576698