Chromium Code Reviews| Index: ppapi/tests/test_case.cc |
| =================================================================== |
| --- ppapi/tests/test_case.cc (revision 70488) |
| +++ ppapi/tests/test_case.cc (working copy) |
| @@ -29,7 +29,7 @@ |
| if (test_object_.is_undefined()) { |
| pp::deprecated::ScriptableObject* so = CreateTestObject(); |
| if (so) |
| - test_object_ = pp::Var(so); // Takes ownership. |
| + test_object_ = pp::Var(instance_, so); // Takes ownership. |
| } |
| return test_object_; |
| } |