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

Unified Diff: content/browser/plugin_process_host.cc

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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
« no previous file with comments | « content/browser/plugin_process_host.h ('k') | content/browser/plugin_service_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_process_host.cc
===================================================================
--- content/browser/plugin_process_host.cc (revision 121250)
+++ content/browser/plugin_process_host.cc (working copy)
@@ -355,11 +355,11 @@
// static
void PluginProcessHost::CancelPendingRequestsForResourceContext(
- const content::ResourceContext* context) {
+ content::ResourceContext* context) {
for (PluginProcessHostIterator host_it; !host_it.Done(); ++host_it) {
PluginProcessHost* host = *host_it;
for (size_t i = 0; i < host->pending_requests_.size(); ++i) {
- if (&host->pending_requests_[i]->GetResourceContext() == context) {
+ if (host->pending_requests_[i]->GetResourceContext() == context) {
host->pending_requests_[i]->OnError();
host->pending_requests_.erase(host->pending_requests_.begin() + i);
--i;
« no previous file with comments | « content/browser/plugin_process_host.h ('k') | content/browser/plugin_service_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698