summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_module.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 21:01:35 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 21:01:35 +0000
commit5376119db8db98303ff177c1ce153e58c742e824 (patch)
tree1807b545295f0969572426b93dcb430d396d7347 /webkit/glue/plugins/pepper_plugin_module.cc
parent8ef13715896630c51f1926cfce8a67d7308c05b2 (diff)
downloadchromium_src-5376119db8db98303ff177c1ce153e58c742e824.zip
chromium_src-5376119db8db98303ff177c1ce153e58c742e824.tar.gz
chromium_src-5376119db8db98303ff177c1ce153e58c742e824.tar.bz2
Update Chrome to pull latest PPAPI with new uses of point and size.
This also pulls in the renamed enums from Darin's patch http://codereview.chromium.org/2900003 TEST=covered by unit tests BUG=none Review URL: http://codereview.chromium.org/2925007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_module.cc')
-rw-r--r--webkit/glue/plugins/pepper_plugin_module.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc
index 3dc3e04..f4059e5 100644
--- a/webkit/glue/plugins/pepper_plugin_module.cc
+++ b/webkit/glue/plugins/pepper_plugin_module.cc
@@ -123,12 +123,12 @@ const PPB_Core core_interface = {
bool ReadImageData(PP_Resource device_context_2d,
PP_Resource image,
- int32_t x, int32_t y) {
+ const PP_Point* top_left) {
scoped_refptr<DeviceContext2D> context(
Resource::GetAs<DeviceContext2D>(device_context_2d));
if (!context.get())
return false;
- return context->ReadImageData(image, x, y);
+ return context->ReadImageData(image, top_left);
}
void RunMessageLoop() {