Description[blink]: Annotate StringImpl::createStatic leak for LeakSanitizer.
Adding the annotation WTF_ANNOTATE_SCOPED_MEMORY_LEAK in StringImpl::createStatic to ensure leak sanitizer doesn't report this as a leak.
This patch just handles Leak Sanitizer only. The changes for Heap Checker will be done in a follow up patch.
BUG=268258
TEST=Running content_unittests with Leak Sanitizer enabled.
Output of Leak Sanitizer before the fix: http://pastebin.com/niDgRNAQ
Output of Leak Sanitizer after the fix: http://pastebin.com/v6hF43Lj
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157315
Patch Set 1 #
Total comments: 1
Patch Set 2 : First patch in set of patches to enable annotating known leaks in blink. #
Total comments: 3
Patch Set 3 : #
Total comments: 4
Patch Set 4 : Addressed abarth comments. #
Messages
Total messages: 11 (0 generated)
|