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

Unified Diff: webkit/glue/plugins/pepper_plugin_module.cc

Issue 2925007: Update Chrome to pull latest PPAPI with new uses of point and size.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « webkit/glue/plugins/pepper_image_data.cc ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_plugin_module.cc
===================================================================
--- webkit/glue/plugins/pepper_plugin_module.cc (revision 51996)
+++ webkit/glue/plugins/pepper_plugin_module.cc (working copy)
@@ -121,12 +121,12 @@
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() {
« no previous file with comments | « webkit/glue/plugins/pepper_image_data.cc ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698