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

Unified Diff: ppapi/proxy/ppb_cursor_control_proxy.cc

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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/proxy/ppb_cursor_control_proxy.h ('k') | ppapi/proxy/ppb_file_chooser_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_cursor_control_proxy.cc
diff --git a/ppapi/proxy/ppb_cursor_control_proxy.cc b/ppapi/proxy/ppb_cursor_control_proxy.cc
index 993efe8c7f59994aeeb8879fe3d1bec4964391e9..19ea1043e47340067fefb76c00a7ff3f92695b07 100644
--- a/ppapi/proxy/ppb_cursor_control_proxy.cc
+++ b/ppapi/proxy/ppb_cursor_control_proxy.cc
@@ -13,6 +13,7 @@
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/thunk.h"
+using ppapi::HostResource;
using ppapi::thunk::EnterFunctionNoLock;
using ppapi::thunk::PPB_CursorControl_FunctionAPI;
@@ -128,7 +129,7 @@ bool PPB_CursorControl_Proxy::OnMessageReceived(const IPC::Message& msg) {
void PPB_CursorControl_Proxy::OnMsgSetCursor(PP_Instance instance,
int32_t type,
- HostResource custom_image,
+ const HostResource& custom_image,
const PP_Point& hot_spot,
PP_Bool* result) {
EnterFunctionNoLock<PPB_CursorControl_FunctionAPI> enter(instance, true);
« no previous file with comments | « ppapi/proxy/ppb_cursor_control_proxy.h ('k') | ppapi/proxy/ppb_file_chooser_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698