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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.cc

Issue 1473553002: Fix typo: PendingInstaneMap => PendingInstanceMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/shared_worker/shared_worker_service_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/shared_worker/shared_worker_service_impl.cc
diff --git a/content/browser/shared_worker/shared_worker_service_impl.cc b/content/browser/shared_worker/shared_worker_service_impl.cc
index 221c1ddf6a865aee0ebb6ac01d063d9fbb6a51b5..af5b65d2a913feb17b121e2d7e71047fc7bf3c56 100644
--- a/content/browser/shared_worker/shared_worker_service_impl.cc
+++ b/content/browser/shared_worker/shared_worker_service_impl.cc
@@ -447,9 +447,8 @@ void SharedWorkerServiceImpl::OnSharedWorkerMessageFilterClosing(
}
std::vector<int> remove_pending_instance_list;
- for (PendingInstaneMap::iterator iter = pending_instances_.begin();
- iter != pending_instances_.end();
- ++iter) {
+ for (PendingInstanceMap::iterator iter = pending_instances_.begin();
+ iter != pending_instances_.end(); ++iter) {
iter->second->RemoveRequest(filter->render_process_id());
if (!iter->second->requests()->size())
remove_pending_instance_list.push_back(iter->first);
@@ -616,9 +615,8 @@ SharedWorkerHost* SharedWorkerServiceImpl::FindSharedWorkerHost(
SharedWorkerServiceImpl::SharedWorkerPendingInstance*
SharedWorkerServiceImpl::FindPendingInstance(
const SharedWorkerInstance& instance) {
- for (PendingInstaneMap::iterator iter = pending_instances_.begin();
- iter != pending_instances_.end();
- ++iter) {
+ for (PendingInstanceMap::iterator iter = pending_instances_.begin();
+ iter != pending_instances_.end(); ++iter) {
if (iter->second->instance()->Matches(instance))
return iter->second;
}
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698