| Index: ppapi/tests/test_var.cc
|
| diff --git a/ppapi/tests/test_var.cc b/ppapi/tests/test_var.cc
|
| index 27c48825cb771c4b4a38d8604671a7f58acb016e..0fedb13da3192b2d7c7382917c0a3bf05eaf681f 100644
|
| --- a/ppapi/tests/test_var.cc
|
| +++ b/ppapi/tests/test_var.cc
|
| @@ -27,7 +27,7 @@ REGISTER_TEST_CASE(Var);
|
| bool TestVar::Init() {
|
| var_interface_ = static_cast<const PPB_Var*>(
|
| pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE));
|
| - return var_interface_ && InitTestingInterface();
|
| + return var_interface_ && CheckTestingInterface();
|
| }
|
|
|
| void TestVar::RunTests(const std::string& filter) {
|
| @@ -136,6 +136,7 @@ std::string TestVar::TestNullInputInUtf8Conversion() {
|
| if (result == NULL) {
|
| return "Expected a non-null result for 0-lengthed string from VarToUtf8.";
|
| }
|
| + var_interface_->Release(converted_string);
|
|
|
| // Should not crash, and make an empty string.
|
| const char* null_string = NULL;
|
|
|