Index: chrome/browser/extensions/api/location/location_manager.cc |
diff --git a/chrome/browser/extensions/api/location/location_manager.cc b/chrome/browser/extensions/api/location/location_manager.cc |
index 35ed6346beb852909b6d190d2d03b004b72e7551..7a0798029dcdfdecadca1574982798abdf9a69c8 100644 |
--- a/chrome/browser/extensions/api/location/location_manager.cc |
+++ b/chrome/browser/extensions/api/location/location_manager.cc |
@@ -393,8 +393,8 @@ void LocationManager::SendLocationUpdate( |
scoped_ptr<Event> event(new Event(event_name, args.Pass())); |
- ExtensionSystem::Get(profile_)->event_router()-> |
- DispatchEventToExtension(extension_id, event.Pass()); |
+ EventRouter::Get(profile_) |
+ ->DispatchEventToExtension(extension_id, event.Pass()); |
} |
void LocationManager::Observe(int type, |