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

Unified Diff: ppapi/thunk/ppb_image_data_thunk.cc

Issue 16605006: Clean up Pepper ImageData resource class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux, allow both kinds of ImageData on host side. Created 7 years, 6 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
Index: ppapi/thunk/ppb_image_data_thunk.cc
diff --git a/ppapi/thunk/ppb_image_data_thunk.cc b/ppapi/thunk/ppb_image_data_thunk.cc
index d26904a985c7622329403f945f8376a4fe7c87c8..a6453cb03bfef3dbcfafd6cf897b247b9bd53764 100644
--- a/ppapi/thunk/ppb_image_data_thunk.cc
+++ b/ppapi/thunk/ppb_image_data_thunk.cc
@@ -39,10 +39,10 @@ PP_Resource Create(PP_Instance instance,
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
- return enter.functions()->CreateImageData(instance,
- format,
- size,
- init_to_zero);
+ return enter.functions()->CreateImageDataPlatform(instance,
+ format,
+ size,
+ init_to_zero);
dmichael (off chromium) 2013/06/10 18:07:29 I think here you'll need to do conditional compila
bbudge 2013/06/10 23:28:37 Done. Hopefully it will be a NaCl plugin that act
}
PP_Bool IsImageData(PP_Resource image_data) {

Powered by Google App Engine
This is Rietveld 408576698