| 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..ff61226d582bf22a23f168ce5c8450ce2bb15227 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;
|
| }
|
| + is_managed_ = true;
|
| }
|
|
|
| ScriptableObject* VarPrivate::AsScriptableObject() const {
|
|
|