Index: content/browser/plugin_process_host.cc |
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc |
index f9b4e10ce9de6814f2d78dbb4671e086b048733a..665d4f00030b0babe5fc64a8315f4c1646c07891 100644 |
--- a/content/browser/plugin_process_host.cc |
+++ b/content/browser/plugin_process_host.cc |
@@ -327,7 +327,9 @@ void PluginProcessHost::CancelRequests() { |
pending_requests_.clear(); |
while (!sent_requests_.empty()) { |
- sent_requests_.front()->OnError(); |
+ Client* client = sent_requests_.front(); |
+ if (client) |
+ client->OnError(); |
sent_requests_.pop_front(); |
} |
} |