DescriptionMerge 79130 - Fix bug in shader and program managers.
The bug was that the code would search by id instead of by pointer.
This meant it was possible to free the wrong thing (ie, pass in
an info with id=4 and free a different info that also happened
to have id=4). This was most likely to happen when calling
MarkAsDeleted since MarkAsDelete sets the id to 0.
TEST=unit tests
BUG=75629
R=apatrick@chromium.org
Review URL: http://codereview.chromium.org/6721010
TBR=gman@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79347
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|