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

Unified Diff: webkit/plugins/ppapi/ppb_image_data_impl.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: webkit/plugins/ppapi/ppb_image_data_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_image_data_impl.cc b/webkit/plugins/ppapi/ppb_image_data_impl.cc
index 4913a06c4a556b285c4e248300cd1a45aad09c04..e68ff70863e0ae10a3767c6d48cd7fa74da8fe91 100644
--- a/webkit/plugins/ppapi/ppb_image_data_impl.cc
+++ b/webkit/plugins/ppapi/ppb_image_data_impl.cc
@@ -76,10 +76,10 @@ PP_Resource PPB_ImageData_Impl::CreatePlatform(PP_Instance instance,
}
// static
-PP_Resource PPB_ImageData_Impl::CreateNaCl(PP_Instance instance,
- PP_ImageDataFormat format,
- const PP_Size& size,
- PP_Bool init_to_zero) {
+PP_Resource PPB_ImageData_Impl::CreateSimple(PP_Instance instance,
+ PP_ImageDataFormat format,
+ const PP_Size& size,
+ PP_Bool init_to_zero) {
scoped_refptr<PPB_ImageData_Impl>
data(new PPB_ImageData_Impl(instance, NACL));
if (!data->Init(format, size.width, size.height, !!init_to_zero))

Powered by Google App Engine
This is Rietveld 408576698