diff options
author | Rene Ladan <rene@FreeBSD.org> | 2016-08-12 18:51:46 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2016-08-12 18:51:46 +0000 |
commit | 0eb655fcd9c2ce4e6f3c675333c03386a8a01a3e (patch) | |
tree | 03cbd36ec5856b2da7d4e4e802f030412156fb3e /www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc | |
parent | 1b0fe1b41fb3b1d36203ef84755407e81b196448 (diff) | |
download | ports-0eb655fcd9c2ce4e6f3c675333c03386a8a01a3e.tar.gz ports-0eb655fcd9c2ce4e6f3c675333c03386a8a01a3e.zip |
Notes
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc b/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc index f441ac6fcd95..59aa32401d15 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/api/messaging/message_service.cc.orig 2016-05-21 16:16:28 UTC -+++ chrome/browser/extensions/api/messaging/message_service.cc -@@ -118,7 +118,7 @@ MessageService::PolicyPermission Message +--- chrome/browser/extensions/api/messaging/message_service.cc.orig 2016-07-22 00:06:51.000000000 -0400 ++++ chrome/browser/extensions/api/messaging/message_service.cc 2016-08-03 11:20:56.579570000 -0400 +@@ -119,7 +119,7 @@ const char kReceivingEndDoesntExistError[] = "Could not establish connection. Receiving end does not exist."; @@ -9,12 +9,12 @@ const char kMissingPermissionError[] = "Access to native messaging requires nativeMessaging permission."; const char kProhibitedByPoliciesError[] = -@@ -415,7 +415,7 @@ void MessageService::OpenChannelToNative +@@ -415,7 +415,7 @@ if (!source) return; -#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) +#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) - Profile* profile = - Profile::FromBrowserContext(source->GetProcess()->GetBrowserContext()); - ExtensionService* extension_service = + content::WebContents* web_contents = + content::WebContents::FromRenderFrameHost(source); + ExtensionWebContentsObserver* extension_web_contents_observer = |