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) |