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

Unified Diff: net/url_request/url_fetcher_core.cc

Issue 2680493002: Use STLClearObject in URLFetcherCore (Closed)
Patch Set: self Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_core.cc
diff --git a/net/url_request/url_fetcher_core.cc b/net/url_request/url_fetcher_core.cc
index ff5e5d4da34fcb68077bbe83363649de23844d3e..9958e2f60a9629708fb587a94fa3964d246ddc6b 100644
--- a/net/url_request/url_fetcher_core.cc
+++ b/net/url_request/url_fetcher_core.cc
@@ -197,7 +197,7 @@ void URLFetcherCore::SetChunkedUpload(const std::string& content_type) {
DCHECK(!content_type.empty());
upload_content_type_ = content_type;
- upload_content_.clear();
+ base::STLClearObject(&upload_content_);
is_chunked_upload_ = true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698