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

Issue 10227009: NOTREACHED() in VarTracker::ReleaseVar() can be reached. Remove it. (Closed)

Created:
8 years, 8 months ago by Tom Sepez
Modified:
8 years, 8 months ago
Reviewers:
brettw
CC:
chromium-reviews, vtl, yzshen1
Visibility:
Public.

Description

NOTREACHED() in VarTracker::ReleaseVar() can be reached. Remove it. Because PPB_Var_Deprecated_Proxy::OnMsgReleaseObject() can defer a ReleaseVar() call past the time an instance is destroyed, and because as part of instance destruction HostVarTracker::ForceReleaseNPObject() forcibly zeroes a variable's ref_count and deletes it, the deferred ReleaseVar() call will hit this path frequently and blow up the debugger. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133968

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M ppapi/shared_impl/var_tracker.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Tom Sepez
Hi Brett, please take a look.
8 years, 8 months ago (2012-04-25 19:06:25 UTC) #1
brettw
8 years, 8 months ago (2012-04-25 19:25:21 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698