diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-13 04:18:44 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-13 04:18:44 +0000 |
commit | be0a84b5a8b1e4e801788fc5d4f42037a88f8c45 (patch) | |
tree | 4033971ac6f11af82464359f4f4e55015eb926f0 /ppapi/proxy/ppb_cursor_control_proxy.cc | |
parent | 5e6c226780eb1617aa9ed980c627af66685d52e4 (diff) | |
download | chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.zip chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.gz chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.bz2 |
Move host resource from the proxy to the shared_impl.
This is needed by my new unified resoruce tracker, which will use this file from the shared_impl in the new resource base object.
I fixed up the namespaces for the callers. Longer term, I want to put the
proxy in the ppapi namespace which will eliminate some of this mess.
Review URL: http://codereview.chromium.org/7623018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_cursor_control_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppb_cursor_control_proxy.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_cursor_control_proxy.cc b/ppapi/proxy/ppb_cursor_control_proxy.cc index 993efe8..19ea104 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); |