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 5624239b68c88c40005c2a2c854b89cbda4b3fc9..3e349964a040e0703cbdda80584a3e017928bfe7 100644 |
--- a/content/browser/background_sync/background_sync_manager.cc |
+++ b/content/browser/background_sync/background_sync_manager.cc |
@@ -973,7 +973,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 : active_registrations_) { |