Index: chrome/common/extensions/api/extension_api.cc |
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc |
index 3178975fc93f178669e33f6cd40577b1fa872fb2..6bbd8df4d10f4419533e0658b0717b8847ea061b 100644 |
--- a/chrome/common/extensions/api/extension_api.cc |
+++ b/chrome/common/extensions/api/extension_api.cc |
@@ -268,12 +268,10 @@ bool ExtensionAPI::IsPrivileged(const std::string& full_name) { |
std::vector<std::string> split; |
base::SplitString(full_name, '.', &split); |
std::reverse(split.begin(), split.end()); |
- CHECK(!split.empty()); // |full_name| was empty or only whitespace. |
api_name = split.back(); |
split.pop_back(); |
if (api_name == "experimental") { |
- CHECK(!split.empty()); // |full_name| was "experimental" alone. |
api_name += "." + split.back(); |
split.pop_back(); |
} |