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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 10167024: Add ipc_channel_nacl to the untrusted build and fix all compile/link errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« ipc/ipc_channel_nacl.cc ('K') | « ppapi/ppapi_proxy_untrusted.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.cc
===================================================================
--- ppapi/proxy/ppb_instance_proxy.cc (revision 133452)
+++ ppapi/proxy/ppb_instance_proxy.cc (working copy)
@@ -413,6 +413,7 @@
PP_MouseCursor_Type type,
PP_Resource image,
const PP_Point* hot_spot) {
+#if !defined(OS_NACL)
// Some of these parameters are important for security. This check is in the
// plugin process just for the convenience of the caller (since we don't
// bother returning errors from the other process with a sync message). The
@@ -433,6 +434,9 @@
API_ID_PPB_INSTANCE, instance, static_cast<int32_t>(type),
image_host_resource, hot_spot ? *hot_spot : PP_MakePoint(0, 0)));
return PP_TRUE;
+#else // defined(OS_NACL)
+ return PP_FALSE;
+#endif
}
int32_t PPB_Instance_Proxy::LockMouse(PP_Instance instance,
« ipc/ipc_channel_nacl.cc ('K') | « ppapi/ppapi_proxy_untrusted.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698