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

Unified Diff: trunk/src/ppapi/proxy/flash_resource_unittest.cc

Issue 12920003: Revert 189518 "PPAPI: Remove threading options; it's always on" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/ppapi/proxy/flash_resource_unittest.cc
===================================================================
--- trunk/src/ppapi/proxy/flash_resource_unittest.cc (revision 189681)
+++ trunk/src/ppapi/proxy/flash_resource_unittest.cc (working copy)
@@ -5,9 +5,9 @@
#include "ppapi/c/dev/ppb_video_capture_dev.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_flash.h"
-#include "ppapi/proxy/locking_resource_releaser.h"
#include "ppapi/proxy/ppapi_messages.h"
#include "ppapi/proxy/ppapi_proxy_test.h"
+#include "ppapi/shared_impl/scoped_pp_resource.h"
#include "ppapi/thunk/thunk.h"
namespace ppapi {
@@ -43,7 +43,7 @@
sink().AddFilter(&enumerate_video_devices_handler);
// Set up the arguments to the call.
- LockingResourceReleaser video_capture(
+ ScopedPPResource video_capture(ScopedPPResource::PassRef(),
::ppapi::thunk::GetPPB_VideoCapture_Dev_0_3_Thunk()->Create(
pp_instance()));
std::vector<PP_Resource> unused;
« no previous file with comments | « trunk/src/ppapi/proxy/file_chooser_resource_unittest.cc ('k') | trunk/src/ppapi/proxy/locking_resource_releaser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698