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

Unified Diff: content/renderer/background_sync/background_sync_client_impl.cc

Issue 2274283003: Use mojo.common.mojom.Time for dispatch_event_time in background_sync.mojom (Closed)
Patch Set: Created 4 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
Index: content/renderer/background_sync/background_sync_client_impl.cc
diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc
index f4b7d9372a0b8801d33c68ab9d8abbfcb7f52909..7a60e4ef09872df9d05cafb97def619fab1fe93b 100644
--- a/content/renderer/background_sync/background_sync_client_impl.cc
+++ b/content/renderer/background_sync/background_sync_client_impl.cc
@@ -40,7 +40,7 @@ void BackgroundSyncClientImpl::Sync(
ServiceWorkerContextClient::ThreadSpecificInstance();
if (!client) {
callback.Run(blink::mojom::ServiceWorkerEventStatus::ABORTED,
- base::Time::Now().ToDoubleT());
+ base::Time::Now());
return;
}

Powered by Google App Engine
This is Rietveld 408576698