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

Unified Diff: chrome/tools/crash_service/crash_service.cc

Issue 23441026: Don't check the result of new for NULL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | net/tools/crash_cache/crash_cache.cc » ('j') | net/tools/crash_cache/crash_cache.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/crash_service/crash_service.cc
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc
index 63a674b4763269c7a75d957a9103755766237691..8face402ef6d77e1f9fd13ca5a4cf7618a98fa70 100644
--- a/chrome/tools/crash_service/crash_service.cc
+++ b/chrome/tools/crash_service/crash_service.cc
@@ -218,10 +218,6 @@ bool CrashService::Initialize(const std::wstring& command_line) {
if (max_reports > 0) {
// Create the http sender object.
sender_ = new CrashReportSender(checkpoint_path.value());
- if (!sender_) {
- LOG(ERROR) << "could not create sender";
- return false;
- }
sender_->set_max_reports_per_day(max_reports);
}
« no previous file with comments | « no previous file | net/tools/crash_cache/crash_cache.cc » ('j') | net/tools/crash_cache/crash_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698