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

Unified Diff: ppapi/proxy/flash_resource.cc

Issue 11361075: Enable pepper threading by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lock on resource replies Created 8 years, 1 month 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/flash_resource.cc
diff --git a/ppapi/proxy/flash_resource.cc b/ppapi/proxy/flash_resource.cc
index 9a208536081669154d3408a8fb09b7ea093f0c25..b8dd5c8a50550c14ac74e7d637776711874026ac 100644
--- a/ppapi/proxy/flash_resource.cc
+++ b/ppapi/proxy/flash_resource.cc
@@ -35,7 +35,8 @@ int32_t FlashResource::EnumerateVideoCaptureDevices(
if (!output.is_valid())
return PP_ERROR_BADARGUMENT;
- thunk::EnterResource<thunk::PPB_VideoCapture_API> enter(video_capture, true);
+ thunk::EnterResourceNoLock<thunk::PPB_VideoCapture_API> enter(video_capture,
+ true);
if (enter.failed())
return PP_ERROR_NOINTERFACE;

Powered by Google App Engine
This is Rietveld 408576698