| Index: webkit/plugins/ppapi/resource_tracker_unittest.cc
|
| diff --git a/webkit/plugins/ppapi/resource_tracker_unittest.cc b/webkit/plugins/ppapi/resource_tracker_unittest.cc
|
| index cde0444b86caf40ba7ce89f695bf7277c6cbffa8..e73b243bddf16ef4f040a3fc394daf01b05ab072 100644
|
| --- a/webkit/plugins/ppapi/resource_tracker_unittest.cc
|
| +++ b/webkit/plugins/ppapi/resource_tracker_unittest.cc
|
| @@ -141,9 +141,8 @@ TEST_F(ResourceTrackerTest, Ref) {
|
| TEST_F(ResourceTrackerTest, DeleteResourceWithInstance) {
|
| // Make a second instance (the test harness already creates & manages one).
|
| scoped_refptr<PluginInstance> instance2(
|
| - new PluginInstance(delegate(), module(),
|
| - PluginInstance::new_instance_interface<PPP_Instance>(
|
| - GetMockInterface(PPP_INSTANCE_INTERFACE))));
|
| + PluginInstance::Create0_5(delegate(), module(),
|
| + GetMockInterface(PPP_INSTANCE_INTERFACE_0_5)));
|
| PP_Instance pp_instance2 = instance2->pp_instance();
|
|
|
| // Make two resources and take refs on behalf of the "plugin" for each.
|
| @@ -176,9 +175,8 @@ TEST_F(ResourceTrackerTest, DeleteResourceWithInstance) {
|
| TEST_F(ResourceTrackerTest, DeleteObjectVarWithInstance) {
|
| // Make a second instance (the test harness already creates & manages one).
|
| scoped_refptr<PluginInstance> instance2(
|
| - new PluginInstance(delegate(), module(),
|
| - PluginInstance::new_instance_interface<PPP_Instance>(
|
| - GetMockInterface(PPP_INSTANCE_INTERFACE))));
|
| + PluginInstance::Create0_5(delegate(), module(),
|
| + GetMockInterface(PPP_INSTANCE_INTERFACE_0_5)));
|
| PP_Instance pp_instance2 = instance2->pp_instance();
|
|
|
| // Make an object var.
|
|
|