Index: content/browser/permissions/permission_service_impl.cc |
diff --git a/content/browser/permissions/permission_service_impl.cc b/content/browser/permissions/permission_service_impl.cc |
index c7f92a8d9e92b7635f1b6b14bc81e028e9b756e0..5591797df1d7b4a6efc73c1ff41984d59c23df70 100644 |
--- a/content/browser/permissions/permission_service_impl.cc |
+++ b/content/browser/permissions/permission_service_impl.cc |
@@ -107,6 +107,7 @@ PermissionServiceImpl::~PermissionServiceImpl() { |
} |
void PermissionServiceImpl::OnConnectionError() { |
+ CancelPendingOperations(); |
Michael van Ouwerkerk
2016/05/04 13:52:16
nit: This might make sense in a separate patch for
Sam McNally
2016/05/05 11:50:23
Done.
|
context_->ServiceHadConnectionError(this); |
// After that call, |this| will be deleted. |
} |