Index: Source/core/rendering/HitTestResult.cpp |
diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp |
index 63f71c09e4fceeb2b6fd70a57a1efe9393783ba1..bb15cef9a3d506d89bf8a989e6013c76154f7138 100644 |
--- a/Source/core/rendering/HitTestResult.cpp |
+++ b/Source/core/rendering/HitTestResult.cpp |
@@ -283,7 +283,8 @@ KURL HitTestResult::absoluteImageURL() const |
return KURL(); |
AtomicString urlString; |
- if (isHTMLEmbedElement(*m_innerNonSharedNode) |
+ if (isHTMLCanvasElement(*m_innerNonSharedNode) |
Justin Novosad
2014/04/24 14:19:39
This may work, but it is way too cumbersome. It im
|
+ || isHTMLEmbedElement(*m_innerNonSharedNode) |
|| isHTMLImageElement(*m_innerNonSharedNode) |
|| isHTMLInputElement(*m_innerNonSharedNode) |
|| isHTMLObjectElement(*m_innerNonSharedNode) |