diff options
author | Iain Merrick <husky@google.com> | 2010-11-01 12:19:54 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-03 10:21:10 +0000 |
commit | 731df977c0511bca2206b5f333555b1205ff1f43 (patch) | |
tree | 0e750b949b3f00a1ac11fda25d3c2de512f2b465 /webkit/glue/plugins/pepper_cursor_control.cc | |
parent | 5add15e10e7bb80512f2c597ca57221314abe577 (diff) | |
download | external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.zip external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.gz external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.bz2 |
Merge Chromium at r63472 : Initial merge by git.
Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a
Diffstat (limited to 'webkit/glue/plugins/pepper_cursor_control.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_cursor_control.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/plugins/pepper_cursor_control.cc b/webkit/glue/plugins/pepper_cursor_control.cc index de3c166..687aa76 100644 --- a/webkit/glue/plugins/pepper_cursor_control.cc +++ b/webkit/glue/plugins/pepper_cursor_control.cc @@ -22,7 +22,7 @@ bool SetCursor(PP_Instance instance_id, PP_CursorType_Dev type, PP_Resource custom_image_id, const PP_Point* hot_spot) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return false; @@ -38,7 +38,7 @@ bool SetCursor(PP_Instance instance_id, } bool LockCursor(PP_Instance instance_id) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return false; @@ -47,7 +47,7 @@ bool LockCursor(PP_Instance instance_id) { } bool UnlockCursor(PP_Instance instance_id) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return false; @@ -56,7 +56,7 @@ bool UnlockCursor(PP_Instance instance_id) { } bool HasCursorLock(PP_Instance instance_id) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return false; @@ -65,7 +65,7 @@ bool HasCursorLock(PP_Instance instance_id) { } bool CanLockCursor(PP_Instance instance_id) { - PluginInstance* instance = PluginInstance::FromPPInstance(instance_id); + PluginInstance* instance = ResourceTracker::Get()->GetInstance(instance_id); if (!instance) return false; |