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

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

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comment nits. 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
« no previous file with comments | « no previous file | ppapi/generators/idl_thunk.py » ('j') | ppapi/proxy/ppb_buffer_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_video_capture_host.cc
diff --git a/content/renderer/pepper/pepper_video_capture_host.cc b/content/renderer/pepper/pepper_video_capture_host.cc
index 3a89521db2ddc46c4b3dee435ceca8e0b525c4fd..f79a42eac6d42191830d5947787c4eae815c5014 100644
--- a/content/renderer/pepper/pepper_video_capture_host.cc
+++ b/content/renderer/pepper/pepper_video_capture_host.cc
@@ -18,7 +18,6 @@ using ppapi::HostResource;
using ppapi::TrackedCallback;
using ppapi::thunk::EnterResourceNoLock;
using ppapi::thunk::PPB_Buffer_API;
-using ppapi::thunk::PPB_BufferTrusted_API;
using webkit::ppapi::HostGlobals;
using webkit::ppapi::PPB_Buffer_Impl;
@@ -203,7 +202,7 @@ void PepperVideoCaptureHost::OnDeviceInfoReceived(
// Add the serialized shared memory handle to params. FileDescriptor is
// treated in special case.
{
- EnterResourceNoLock<PPB_BufferTrusted_API> enter(res, true);
+ EnterResourceNoLock<PPB_Buffer_API> enter(res, true);
DCHECK(enter.succeeded());
int handle;
int32_t result = enter.object()->GetSharedMemory(&handle);
« no previous file with comments | « no previous file | ppapi/generators/idl_thunk.py » ('j') | ppapi/proxy/ppb_buffer_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698