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

Unified Diff: ppapi/thunk/ppb_buffer_trusted_thunk.cc

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove proxy implementation of GetSharedMemory. 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 | « ppapi/thunk/ppb_buffer_trusted_api.h ('k') | webkit/plugins/ppapi/ppb_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_buffer_trusted_thunk.cc
diff --git a/ppapi/thunk/ppb_buffer_trusted_thunk.cc b/ppapi/thunk/ppb_buffer_trusted_thunk.cc
index 92e6cff635ea0d851eb7ab9896b248864441bf3a..7aa2750fe515d7eb2a498869cf95931b65689908 100644
--- a/ppapi/thunk/ppb_buffer_trusted_thunk.cc
+++ b/ppapi/thunk/ppb_buffer_trusted_thunk.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From trusted/ppb_buffer_trusted.idl modified Mon Jan 14 14:31:34 2013.
+// From trusted/ppb_buffer_trusted.idl modified Wed Feb 6 15:21:31 2013.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/trusted/ppb_buffer_trusted.h"
#include "ppapi/shared_impl/tracked_callback.h"
#include "ppapi/thunk/enter.h"
-#include "ppapi/thunk/ppb_buffer_trusted_api.h"
+#include "ppapi/thunk/ppb_buffer_api.h"
#include "ppapi/thunk/ppb_instance_api.h"
#include "ppapi/thunk/resource_creation_api.h"
#include "ppapi/thunk/thunk.h"
@@ -19,7 +19,7 @@ namespace thunk {
namespace {
int32_t GetSharedMemory(PP_Resource buffer, int* handle) {
- EnterResource<PPB_BufferTrusted_API> enter(buffer, true);
+ EnterResource<PPB_Buffer_API> enter(buffer, true);
if (enter.failed())
return enter.retval();
return enter.object()->GetSharedMemory(handle);
« no previous file with comments | « ppapi/thunk/ppb_buffer_trusted_api.h ('k') | webkit/plugins/ppapi/ppb_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698