summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/api_definitions_natives.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/extensions/api_definitions_natives.cc')
-rw-r--r--chrome/renderer/extensions/api_definitions_natives.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/api_definitions_natives.cc b/chrome/renderer/extensions/api_definitions_natives.cc
index 316daaa..37dc415 100644
--- a/chrome/renderer/extensions/api_definitions_natives.cc
+++ b/chrome/renderer/extensions/api_definitions_natives.cc
@@ -23,7 +23,7 @@ ApiDefinitionsNatives::ApiDefinitionsNatives(Dispatcher* dispatcher,
void ApiDefinitionsNatives::GetExtensionAPIDefinitionsForTest(
const v8::FunctionCallbackInfo<v8::Value>& args) {
std::vector<std::string> apis;
- FeatureProvider* feature_provider = FeatureProvider::GetByName("api");
+ FeatureProvider* feature_provider = FeatureProvider::GetAPIFeatures();
const std::vector<std::string>& feature_names =
feature_provider->GetAllFeatureNames();
for (std::vector<std::string>::const_iterator i = feature_names.begin();