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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.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: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 17ef13b6fd004304406504b8276cd0d4e7535ebc..f9aafa9677e0d29ac2fe1efcdef71586933af9aa 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -45,6 +45,7 @@ using ppapi::InputEventData;
using ppapi::PPB_InputEvent_Shared;
using ppapi::PPB_ResourceArray_Shared;
using ppapi::StringVar;
+using ppapi::thunk::PPB_Graphics3D_API;
namespace webkit {
namespace ppapi {
@@ -158,14 +159,14 @@ PP_Resource ResourceCreationImpl::CreateGraphics2D(
PP_Resource ResourceCreationImpl::CreateGraphics3D(
PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) {
return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list);
}
PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
PP_Instance instance,
- PP_Resource share_context,
+ PPB_Graphics3D_API* share_context,
const int32_t* attrib_list) {
return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list);
}
« webkit/plugins/ppapi/ppb_graphics_3d_impl.cc ('K') | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698