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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store_file.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/safe_browsing/safe_browsing_store_file.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.cc b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
index 8661faf3ca6a3904c3ba221e25c1a751049ee736..bdc5232de03a61ffca2333cc58bffa83c15dbfc5 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
@@ -201,11 +201,7 @@ void SafeBrowsingStoreFile::CheckForOriginalAndDelete(
}
SafeBrowsingStoreFile::SafeBrowsingStoreFile()
- : chunks_written_(0),
- file_(NULL),
- empty_(false),
- corruption_seen_(false) {
-}
+ : chunks_written_(0), empty_(false), corruption_seen_(false) {}
SafeBrowsingStoreFile::~SafeBrowsingStoreFile() {
Close();

Powered by Google App Engine
This is Rietveld 408576698