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; |