| Index: sky/engine/core/rendering/HitTestResult.cpp
|
| diff --git a/sky/engine/core/rendering/HitTestResult.cpp b/sky/engine/core/rendering/HitTestResult.cpp
|
| index 9537660c2f74fcd536a14ec4d12f3c6c00e9274e..ddfa5a80685c5392eacd615dbc040eaea24cdcf9 100644
|
| --- a/sky/engine/core/rendering/HitTestResult.cpp
|
| +++ b/sky/engine/core/rendering/HitTestResult.cpp
|
| @@ -31,7 +31,6 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/HTMLAnchorElement.h"
|
| #include "core/html/HTMLImageElement.h"
|
| -#include "core/html/HTMLMediaElement.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
| #include "core/rendering/RenderImage.h"
|
| #include "platform/scroll/Scrollbar.h"
|
| @@ -269,26 +268,6 @@ KURL HitTestResult::absoluteImageURLInternal(bool allowCanvas) const
|
| return m_innerNonSharedNode->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
| }
|
|
|
| -KURL HitTestResult::absoluteMediaURL() const
|
| -{
|
| - if (HTMLMediaElement* mediaElt = mediaElement())
|
| - return mediaElt->currentSrc();
|
| - return KURL();
|
| -}
|
| -
|
| -HTMLMediaElement* HitTestResult::mediaElement() const
|
| -{
|
| - if (!m_innerNonSharedNode)
|
| - return 0;
|
| -
|
| - if (!(m_innerNonSharedNode->renderer() && m_innerNonSharedNode->renderer()->isMedia()))
|
| - return 0;
|
| -
|
| - if (isHTMLMediaElement(*m_innerNonSharedNode))
|
| - return toHTMLMediaElement(m_innerNonSharedNode);
|
| - return 0;
|
| -}
|
| -
|
| KURL HitTestResult::absoluteLinkURL() const
|
| {
|
| if (!m_innerURLElement)
|
|
|