Index: ppapi/shared_impl/var_tracker.cc |
diff --git a/ppapi/shared_impl/var_tracker.cc b/ppapi/shared_impl/var_tracker.cc |
index 7f7157e7954af162a29a72f183d8c97d5368e564..3123829e69f827e3a8218c4318bd4c4b966eaa5d 100644 |
--- a/ppapi/shared_impl/var_tracker.cc |
+++ b/ppapi/shared_impl/var_tracker.cc |
@@ -100,6 +100,7 @@ bool VarTracker::ReleaseVar(int32 var_id) { |
} else { |
// All other var types can just be released. |
DCHECK(info.track_with_no_reference_count == 0); |
+ info.var->AssignVarID(0); |
dmichael (off chromium)
2011/12/16 03:04:29
This landed with the other patch, right? So I'll j
Takashi Toyoshima
2011/12/16 05:36:38
This change was landed as another CL, and was remo
|
live_vars_.erase(found); |
} |
} |