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

Unified Diff: ppapi/tests/test_image_data.cc

Issue 7055002: Fix PPAPI ui_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable transport test Created 9 years, 7 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 | « ppapi/tests/test_graphics_2d.cc ('k') | ppapi/tests/testing_instance.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
diff --git a/ppapi/tests/test_image_data.cc b/ppapi/tests/test_image_data.cc
index ab8894a9b51cac01999cab15814969a8671242c3..96963497c2b0ab0af23821aa58afdebc1f09bcf9 100644
--- a/ppapi/tests/test_image_data.cc
+++ b/ppapi/tests/test_image_data.cc
@@ -60,7 +60,7 @@ std::string TestImageData::TestInvalidSize() {
negative_height.width = 16;
negative_height.height = -2;
PP_Resource rsrc = image_data_interface_->Create(
- pp::Module::Get()->pp_module(),
+ instance_->pp_instance(),
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
&negative_height, PP_TRUE);
if (rsrc)
@@ -70,7 +70,7 @@ std::string TestImageData::TestInvalidSize() {
negative_width.width = -2;
negative_width.height = 16;
rsrc = image_data_interface_->Create(
- pp::Module::Get()->pp_module(),
+ instance_->pp_instance(),
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
&negative_width, PP_TRUE);
if (rsrc)
« no previous file with comments | « ppapi/tests/test_graphics_2d.cc ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698