DescriptionFix DrawQuad copy
Creating a copy of the quads by allocating a bag of bytes is problematic because
the delete doesn't match the new (new [] vs scalar delete), which is wrong in
general but in particular causes asserts in tcmalloc and ASAN.
Instead, do the proper C++ version, relying on implicit copy constructors.
BUG=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165248
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix tests #
Messages
Total messages: 12 (0 generated)
|