Index: chrome/browser/extensions/api/tabs/tabs.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs.cc b/chrome/browser/extensions/api/tabs/tabs.cc |
index 38c2652771655d0c74c1368fe3712ba833cafbef..84def0fee8f4b26c9b93f9d7ddf1e1c7c67ee842 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs.cc |
@@ -94,6 +94,7 @@ using content::OpenURLParams; |
using content::Referrer; |
using content::RenderViewHost; |
using content::WebContents; |
+using extensions::APIPermission; |
using extensions::ScriptExecutor; |
const int CaptureVisibleTabFunction::kDefaultQuality = 90; |
@@ -1352,7 +1353,7 @@ void UpdateTabFunction::PopulateResult() { |
if (!has_callback()) |
return; |
- if (GetExtension()->HasAPIPermission(ExtensionAPIPermission::kTab)) { |
+ if (GetExtension()->HasAPIPermission(APIPermission::kTab)) { |
result_.reset( |
ExtensionTabUtil::CreateTabValue(tab_contents_->web_contents())); |
} else { |