summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/runtime_custom_bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/extensions/runtime_custom_bindings.cc')
-rw-r--r--chrome/renderer/extensions/runtime_custom_bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.cc b/chrome/renderer/extensions/runtime_custom_bindings.cc
index 45663f9..ea5f5bf 100644
--- a/chrome/renderer/extensions/runtime_custom_bindings.cc
+++ b/chrome/renderer/extensions/runtime_custom_bindings.cc
@@ -68,7 +68,7 @@ void RuntimeCustomBindings::OpenChannelToNativeApp(
const v8::FunctionCallbackInfo<v8::Value>& args) {
// Verify that the extension has permission to use native messaging.
Feature::Availability availability =
- FeatureProvider::GetByName("permission")->
+ FeatureProvider::GetPermissionFeatures()->
GetFeature("nativeMessaging")->IsAvailableToContext(
GetExtensionForRenderView(),
context()->context_type(),