Index: content/browser/background_sync/background_sync_manager.cc |
diff --git a/content/browser/background_sync/background_sync_manager.cc b/content/browser/background_sync/background_sync_manager.cc |
index 018bbae5ab270ecfc3905a191a9fbb48dd63cb93..57b393189c45fbb3b075c3d4be6977950817ab4c 100644 |
--- a/content/browser/background_sync/background_sync_manager.cc |
+++ b/content/browser/background_sync/background_sync_manager.cc |
@@ -755,7 +755,7 @@ bool BackgroundSyncManager::IsRegistrationReadyToFire( |
} |
void BackgroundSyncManager::SchedulePendingRegistrations() { |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
bool keep_browser_alive_for_one_shot = false; |
for (const auto& sw_id_and_registrations : sw_to_registrations_map_) { |