Chromium Code Reviews
DescriptionUse STLClearObject in URLFetcherCore
URLFetcherCore can be reused for different requests. If it is used for a
chunked upload following a non-chunked upload, we clear the previous
non-chunked upload content by doing |upload_content_|.clear(). However this
might not free up the memory used by |upload_content_|. This CL uses
base::STLClearObject().
BUG=689062
Review-Url: https://codereview.chromium.org/2680493002
Cr-Commit-Position: refs/heads/master@{#448297}
Committed: https://chromium.googlesource.com/chromium/src/+/247c7485836209481c53e865856ec7b8ef81178e
Patch Set 1 : self #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||