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 f245e1718a29fef7bf8eab2692a0e0b100c73af3..fb4e6790fa62e336b5a9cd18142061690f73f63a 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs.cc |
@@ -1353,7 +1353,7 @@ void UpdateTabFunction::PopulateResult() { |
if (!has_callback()) |
return; |
- if (GetExtension()->HasAPIPermission(ExtensionAPIPermission::kTab)) { |
+ if (GetExtension()->HasAPIPermission(extensions::APIPermission::kTab)) { |
result_.reset( |
ExtensionTabUtil::CreateTabValue(tab_contents_->web_contents())); |
} else { |