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

Unified Diff: ppapi/proxy/video_capture_resource.cc

Issue 552423003: PPAPI: Make CallWhileUnlocked more permissive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ppapi/proxy/ppp_printing_proxy.cc ('k') | ppapi/shared_impl/proxy_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/video_capture_resource.cc
diff --git a/ppapi/proxy/video_capture_resource.cc b/ppapi/proxy/video_capture_resource.cc
index 8931b8fa3784b600bc0cee43aed96e1d3692c33b..5c95ed8171023b7fd8b8c4afeba5ff39ea3f5e50 100644
--- a/ppapi/proxy/video_capture_resource.cc
+++ b/ppapi/proxy/video_capture_resource.cc
@@ -166,8 +166,8 @@ void VideoCaptureResource::OnPluginMsgOnDeviceInfo(
pp_instance(),
pp_resource(),
&info,
- static_cast<uint32_t>(buffers.size()),
- const_cast<const PP_Resource*>(resources.get()));
+ buffers.size(),
+ resources.get());
for (size_t i = 0; i < buffers.size(); ++i)
tracker->ReleaseResource(resources[i]);
« no previous file with comments | « ppapi/proxy/ppp_printing_proxy.cc ('k') | ppapi/shared_impl/proxy_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698