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 8b2ed1be43116d7d83c53741782c114cd0ffd6c4..00b86b1147fcddc12f60f8058bd4a36b65b31d51 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 { |