| Index: content/renderer/media/android/webmediaplayer_android.cc
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
|
| index feec4212bfc7871a51159822b1fff6282eea7ce0..1794eed9186471d0ec9e696dd1ab4c6b6c08aa74 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -67,6 +67,8 @@
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkTypeface.h"
|
| #include "ui/gfx/image/image.h"
|
| +#include "url/gurl.h"
|
| +#include "url/origin.h"
|
|
|
| static const uint32_t kGLTextureExternalOES = 0x8D65;
|
| static const int kSDKVersionToSupportSecurityOriginCheck = 20;
|
| @@ -1311,7 +1313,7 @@ void WebMediaPlayerAndroid::ReportHLSMetrics() const {
|
| UMA_HISTOGRAM_BOOLEAN("Media.Android.IsHttpLiveStreamingMedia", is_hls);
|
| if (is_hls) {
|
| media::RecordOriginOfHLSPlayback(
|
| - blink::WebStringToGURL(frame_->getSecurityOrigin().toString()));
|
| + url::Origin(frame_->getSecurityOrigin()).GetURL());
|
| }
|
|
|
| // Assuming that |is_hls| is the ground truth, test predictions.
|
|
|