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

Unified Diff: components/gcm_driver/instance_id/instance_id_impl.cc

Issue 1899753002: Make InstanceIDBridge fully async to fix strict mode violations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid3test
Patch Set: Rebase & tweak lifetime comments Created 4 years, 8 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: components/gcm_driver/instance_id/instance_id_impl.cc
diff --git a/components/gcm_driver/instance_id/instance_id_impl.cc b/components/gcm_driver/instance_id/instance_id_impl.cc
index 667008fdd2622eb341e7a1e01f8ad02ce97ebcf5..667a286f68d13028dadfd0050390804c5625183d 100644
--- a/components/gcm_driver/instance_id/instance_id_impl.cc
+++ b/components/gcm_driver/instance_id/instance_id_impl.cc
@@ -214,6 +214,7 @@ void InstanceIDImpl::OnDeleteIDCompleted(
const DeleteIDCallback& callback,
gcm::GCMClient::Result result) {
callback.Run(GCMClientResultToInstanceIDResult(result));
+ // Now |this| may have been deleted.
}
void InstanceIDImpl::GetInstanceIDDataCompleted(

Powered by Google App Engine
This is Rietveld 408576698