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

Unified Diff: chrome/gpu/gpu_channel.cc

Issue 1546001: Split GpuProcessHost into GpuProcessHostUIShim, which runs on the UI... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/common/sandbox_policy.cc ('k') | chrome/gpu/gpu_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/gpu_channel.cc
===================================================================
--- chrome/gpu/gpu_channel.cc (revision 43024)
+++ chrome/gpu/gpu_channel.cc (working copy)
@@ -91,8 +91,10 @@
#if defined(ENABLE_GPU)
// Destroy all the stubs on this channel.
- for (size_t i = 0; i < stubs_.size(); ++i) {
- router_.RemoveRoute(stubs_[i]->route_id());
+ for (StubMap::const_iterator iter = stubs_.begin();
+ iter != stubs_.end();
+ ++iter) {
+ router_.RemoveRoute(iter->second->route_id());
}
stubs_.clear();
#endif
« no previous file with comments | « chrome/common/sandbox_policy.cc ('k') | chrome/gpu/gpu_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698