Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: ppapi/shared_impl/var_tracker.cc

Issue 8821010: WebSocket Pepper API: C++ bindings implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refine documents Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}

Powered by Google App Engine
This is Rietveld 408576698