Index: chrome/browser/chromeos/certificate_provider/sign_requests.cc |
diff --git a/chrome/browser/chromeos/certificate_provider/sign_requests.cc b/chrome/browser/chromeos/certificate_provider/sign_requests.cc |
index a5e094ae7071a25d8f88a804e1a1be13dfeb5388..092077c95e3c3204cc88e3402a40252c02b3ada5 100644 |
--- a/chrome/browser/chromeos/certificate_provider/sign_requests.cc |
+++ b/chrome/browser/chromeos/certificate_provider/sign_requests.cc |
@@ -35,7 +35,8 @@ bool SignRequests::RemoveRequest(const std::string& extension_id, |
if (it == pending.end()) |
return false; |
- *callback = it->second; |
+ if (callback) |
+ *callback = it->second; |
pending.erase(it); |
return true; |
} |