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

Unified Diff: ppapi/tests/test_image_data.cc

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « ppapi/tests/test_graphics_2d.cc ('k') | ppapi/tests/test_var_deprecated.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_image_data.cc
===================================================================
--- ppapi/tests/test_image_data.cc (revision 65116)
+++ ppapi/tests/test_image_data.cc (working copy)
@@ -61,7 +61,7 @@
PP_Resource rsrc = image_data_interface_->Create(
pp::Module::Get()->pp_module(),
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
- &negative_height, true);
+ &negative_height, PP_TRUE);
if (rsrc)
return "Negative height accepted";
@@ -71,7 +71,7 @@
rsrc = image_data_interface_->Create(
pp::Module::Get()->pp_module(),
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
- &negative_width, true);
+ &negative_width, PP_TRUE);
if (rsrc)
return "Negative width accepted";
@@ -137,4 +137,3 @@
return "";
}
-
« no previous file with comments | « ppapi/tests/test_graphics_2d.cc ('k') | ppapi/tests/test_var_deprecated.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698