| 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 4c4c03b5dfce0e2f746fc89a12f6cc06aee5231c..2536d82b00b61411c5296704218e0caaa6a16977 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -2041,11 +2041,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;
|
|
|