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

Unified Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 547733002: [Pepper GL] Use shared state to fix a memory leak in MapSub GL extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remve base/memory/shared_memory.h from DEPS Created 6 years, 3 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: content/renderer/pepper/resource_creation_impl.cc
diff --git a/content/renderer/pepper/resource_creation_impl.cc b/content/renderer/pepper/resource_creation_impl.cc
index 7fd5d9b9f06943127b32811704158fe4d55c1d85..29ac94d1c8c80e48d8cd8784b71cdf4a0d4808ea 100644
--- a/content/renderer/pepper/resource_creation_impl.cc
+++ b/content/renderer/pepper/resource_creation_impl.cc
@@ -106,8 +106,10 @@ PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance,
PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
PP_Instance instance,
PP_Resource share_context,
- const int32_t* attrib_list) {
- return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list);
+ const int32_t* attrib_list,
+ base::SharedMemoryHandle* shared_state) {
+ return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list,
+ shared_state);
}
PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | mojo/examples/pepper_container_app/resource_creation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698