Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 2a08daf8953682dfdec731b73448020ef1826e16..d1a33677aeae330e72c3c273abad0c00d802d469 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1242,6 +1242,13 @@ Element* Document::elementFromPoint(int x, int y) const |
return TreeScope::elementFromPoint(x, y); |
} |
+Vector<Element*> Document::elementsFromPoint(int x, int y) const |
+{ |
+ if (!renderView()) |
+ return Vector<Element*>(); |
+ return TreeScope::elementsFromPoint(x, y); |
+} |
+ |
PassRefPtrWillBeRawPtr<Range> Document::caretRangeFromPoint(int x, int y) |
{ |
if (!renderView()) |