Index: chrome/browser/extensions/api/messaging/message_service.cc |
diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc |
index afc9407a64ebb14a26314acb76299963ec47f808..af6bb510616a7d48c5ac1a7c01790c758c88dfea 100644 |
--- a/chrome/browser/extensions/api/messaging/message_service.cc |
+++ b/chrome/browser/extensions/api/messaging/message_service.cc |
@@ -211,7 +211,7 @@ void MessageService::OpenChannelToNativeApp( |
source_extension_id)); |
NativeMessageProcessHost::MessageType type = |
- channel_name == "chrome.extension.sendNativeMessage" ? |
+ channel_name == "chrome.runtime.sendNativeMessage" ? |
NativeMessageProcessHost::TYPE_SEND_MESSAGE_REQUEST : |
NativeMessageProcessHost::TYPE_CONNECT; |