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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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
Index: content/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index e9fb8e9bf608cb0c3a53a543f3e57a3e6348f6de..2888e8de26806872a839f8199827907f8a82b6e7 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -82,7 +82,7 @@ void MockRenderProcessHost::SimulateCrash() {
// the listeners by descending routing ID, instead of using the arbitrary
// hash-map order like RenderProcessHostImpl.
std::vector<std::pair<int32_t, IPC::Listener*>> sorted_listeners_;
- IDMap<IPC::Listener>::iterator iter(&listeners_);
+ IDMap<IPC::Listener*>::iterator iter(&listeners_);
while (!iter.IsAtEnd()) {
sorted_listeners_.push_back(
std::make_pair(iter.GetCurrentKey(), iter.GetCurrentValue()));
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | content/renderer/browser_plugin/browser_plugin_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698