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

Unified Diff: content/renderer/browser_plugin/browser_plugin_manager.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/renderer/browser_plugin/browser_plugin_manager.cc
diff --git a/content/renderer/browser_plugin/browser_plugin_manager.cc b/content/renderer/browser_plugin/browser_plugin_manager.cc
index 19820735f37648ffda9a51cb8979505957dac211..a9236a76657c8d0a4ba0a414ac8cff27d99df180 100644
--- a/content/renderer/browser_plugin/browser_plugin_manager.cc
+++ b/content/renderer/browser_plugin/browser_plugin_manager.cc
@@ -49,7 +49,7 @@ int BrowserPluginManager::GetNextInstanceID() {
}
void BrowserPluginManager::UpdateFocusState() {
- IDMap<BrowserPlugin>::iterator iter(&instances_);
+ IDMap<BrowserPlugin*>::iterator iter(&instances_);
while (!iter.IsAtEnd()) {
iter.GetCurrentValue()->UpdateGuestFocusState(blink::WebFocusTypeNone);
iter.Advance();
@@ -76,7 +76,7 @@ BrowserPlugin* BrowserPluginManager::CreateBrowserPlugin(
void BrowserPluginManager::DidCommitCompositorFrame(
int render_frame_routing_id) {
- IDMap<BrowserPlugin>::iterator iter(&instances_);
+ IDMap<BrowserPlugin*>::iterator iter(&instances_);
while (!iter.IsAtEnd()) {
if (iter.GetCurrentValue()->render_frame_routing_id() ==
render_frame_routing_id) {
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_manager.h ('k') | content/renderer/cache_storage/cache_storage_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698