| Index: ppapi/cpp/private/var_private.cc
|
| diff --git a/ppapi/cpp/private/var_private.cc b/ppapi/cpp/private/var_private.cc
|
| index 27e418aef0861f4706d36a5eab194423f74a4687..98842d384081645590f5da485a317ae16cc53c75 100644
|
| --- a/ppapi/cpp/private/var_private.cc
|
| +++ b/ppapi/cpp/private/var_private.cc
|
| @@ -29,12 +29,11 @@ VarPrivate::VarPrivate(const InstanceHandle& instance,
|
| if (has_interface<PPB_Var_Deprecated>()) {
|
| var_ = get_interface<PPB_Var_Deprecated>()->CreateObject(
|
| instance.pp_instance(), object->GetClass(), object);
|
| - needs_release_ = true;
|
| } else {
|
| var_.type = PP_VARTYPE_NULL;
|
| var_.padding = 0;
|
| - needs_release_ = false;
|
| }
|
| + needs_management_ = true;
|
| }
|
|
|
| ScriptableObject* VarPrivate::AsScriptableObject() const {
|
|
|