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

Unified Diff: chrome/browser/download/download_history.cc

Issue 16703018: Rewrite scoped_ptr<T>(NULL) to use the default ctor in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: chrome/browser/download/download_history.cc
diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
index 7f26bb578cb68c028e5a1d9e6136ebec25831ad5..7cc7f746ea1e206b3503c1649d036ccb4de7b381 100644
--- a/chrome/browser/download/download_history.cc
+++ b/chrome/browser/download/download_history.cc
@@ -55,9 +55,7 @@ class DownloadHistoryData : public base::SupportsUserData::Data {
}
DownloadHistoryData(content::DownloadItem* item, int64 handle)
- : is_adding_(false),
- db_handle_(handle),
- info_(NULL) {
+ : is_adding_(false), db_handle_(handle) {
item->SetUserData(kKey, this);
}

Powered by Google App Engine
This is Rietveld 408576698