Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
index 42d58c920ec8072b4c36e311858af46ae450e684..dfd261fbf1b58814ad045e4be5c4332c8f48de68 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
@@ -1420,7 +1420,7 @@ bool HTMLMediaElement::IsSafeToLoadURL(const KURL& url, |
LocalFrame* frame = GetDocument().GetFrame(); |
if (!frame || !GetDocument().GetSecurityOrigin()->CanDisplay(url)) { |
if (action_if_invalid == kComplain) |
- FrameLoader::ReportLocalLoadFailed(frame, url.ElidedString()); |
+ GetDocument().ReportLocalLoadFailed(url.ElidedString()); |
BLINK_MEDIA_LOG << "isSafeToLoadURL(" << (void*)this << ", " |
<< UrlForLoggingMedia(url) |
<< ") -> FALSE rejected by SecurityOrigin"; |