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

Unified Diff: src/service_manager.cc

Issue 4746002: cashew: SeviceManager: remove incorrect assert (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Created 10 years, 1 month 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: src/service_manager.cc
diff --git a/src/service_manager.cc b/src/service_manager.cc
index 2e8a9649646a6b6205df5efae631095918fd28a9..484f08c98525802d128f3fe7424eefe1f5a7e452 100644
--- a/src/service_manager.cc
+++ b/src/service_manager.cc
@@ -377,7 +377,6 @@ void ServiceManager::OnDefaultServiceUpdate(const DBus::Path *path) {
void ServiceManager::ClearDefaultCellularService() {
DLOG(INFO) << "ClearDefaultCellularService";
if (default_cellular_service_ != NULL) {
- DCHECK(GetService(default_cellular_service_->GetPath()) != NULL);
DCHECK(default_cellular_service_->IsDefaultService());
default_cellular_service_->OnDefaultServiceUpdate(false);
default_cellular_service_ = NULL;
« 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