Index: ppapi/tests/test_graphics_2d.cc |
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc |
index 32f12cde587e0a2707160a08d776e4965d5f29e7..28483b4f0e2da6c86c430df3762f4844fde8d3b8 100644 |
--- a/ppapi/tests/test_graphics_2d.cc |
+++ b/ppapi/tests/test_graphics_2d.cc |
@@ -243,12 +243,12 @@ std::string TestGraphics2D::TestInvalidSize() { |
size.width = 16; |
size.height = -16; |
ASSERT_FALSE(!!graphics_2d_interface_->Create( |
- pp::Module::Get()->pp_module(), &size, PP_FALSE)); |
+ instance_->pp_instance(), &size, PP_FALSE)); |
size.width = -16; |
size.height = 16; |
ASSERT_FALSE(!!graphics_2d_interface_->Create( |
- pp::Module::Get()->pp_module(), &size, PP_FALSE)); |
+ instance_->pp_instance(), &size, PP_FALSE)); |
PASS(); |
} |