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

Unified Diff: content/browser/background_sync/background_sync_service_impl.cc

Issue 1353613002: [BackgroundSync] Clean up some style nits and unnecessary checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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: content/browser/background_sync/background_sync_service_impl.cc
diff --git a/content/browser/background_sync/background_sync_service_impl.cc b/content/browser/background_sync/background_sync_service_impl.cc
index 5f46720c1b51dc133a16e4f54eeda87411b46e18..9f51f9a70af6ed03f9c631e5fbb0f07cba7ad88a 100644
--- a/content/browser/background_sync/background_sync_service_impl.cc
+++ b/content/browser/background_sync/background_sync_service_impl.cc
@@ -136,9 +136,6 @@ void BackgroundSyncServiceImpl::Unregister(
int64_t sw_registration_id,
const UnregisterCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- BackgroundSyncManager* background_sync_manager =
- background_sync_context_->background_sync_manager();
- DCHECK(background_sync_manager);
BackgroundSyncRegistrationHandle* registration =
active_handles_.Lookup(handle_id);
« no previous file with comments | « content/browser/background_sync/background_sync_manager.cc ('k') | content/child/background_sync/background_sync_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698