| Index: chrome/browser/media/media_stream_infobar_delegate.cc
|
| diff --git a/chrome/browser/media/media_stream_infobar_delegate.cc b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| index 9f22e0726fce434f40fda6be17497ce07acd8cbe..46b95641d7496b1fc977e5a78db62985287c4354 100644
|
| --- a/chrome/browser/media/media_stream_infobar_delegate.cc
|
| +++ b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| @@ -13,7 +13,6 @@
|
| #include "components/google/core/browser/google_util.h"
|
| #include "components/infobars/core/infobar.h"
|
| #include "content/public/browser/web_contents.h"
|
| -#include "content/public/common/origin_util.h"
|
| #include "grit/components_strings.h"
|
| #include "grit/theme_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -124,7 +123,7 @@
|
|
|
| bool MediaStreamInfoBarDelegate::Accept() {
|
| GURL origin(controller_->GetSecurityOriginSpec());
|
| - if (content::IsOriginSecure(origin)) {
|
| + if (origin.SchemeIsSecure()) {
|
| UMA_HISTOGRAM_ENUMERATION("Media.DevicePermissionActions",
|
| kAllowHttps, kPermissionActionsMax);
|
| } else {
|
|
|