| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 9d3579f134e9a4ace535655684d762b31c5ee634..ebd818a310a8deb1b27699ff7072b0bbad7277b1 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -2074,11 +2074,10 @@ ChromeContentBrowserClient::AllowWebBluetooth(
|
| HostContentSettingsMapFactory::GetForProfile(
|
| Profile::FromBrowserContext(browser_context));
|
|
|
| - if (content_settings->GetContentSetting(GURL(requesting_origin.Serialize()),
|
| - GURL(embedding_origin.Serialize()),
|
| - CONTENT_SETTINGS_TYPE_BLUETOOTH_GUARD,
|
| - std::string()) ==
|
| - CONTENT_SETTING_BLOCK) {
|
| + if (content_settings->GetContentSetting(
|
| + requesting_origin.GetURL(), embedding_origin.GetURL(),
|
| + CONTENT_SETTINGS_TYPE_BLUETOOTH_GUARD,
|
| + std::string()) == CONTENT_SETTING_BLOCK) {
|
| return AllowWebBluetoothResult::BLOCK_POLICY;
|
| }
|
| return AllowWebBluetoothResult::ALLOW;
|
|
|