Index: chrome/browser/geolocation/chrome_geolocation_permission_context.cc |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc |
index cac43a0249488dd694fe12fed50cddb4a2570183..79b7261d552ea37d0616814ae811f978f69dc641 100644 |
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc |
@@ -613,7 +613,7 @@ void ChromeGeolocationPermissionContext::RequestGeolocationPermission( |
UTF8ToUTF16(requesting_frame.spec())), |
requesting_frame)); |
if (extension && |
- extension->HasAPIPermission(ExtensionAPIPermission::kGeolocation)) { |
+ extension->HasAPIPermission(extensions::APIPermission::kGeolocation)) { |
// Make sure the extension is in the calling process. |
if (extension_service->process_map()->Contains( |
extension->id(), render_process_id)) { |