Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 9a22cf12d790fc566ada287cbbfbd12a84b3a53f..663713313b1f60cc7004468919e7d955be23800a 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -613,7 +613,7 @@ public: |
// is true if the renderer returned is an ancestor of repaintContainer. |
RenderObject* container(const RenderLayerModelObject* repaintContainer = 0, bool* repaintContainerSkipped = 0) const; |
- virtual RenderObject* hoverAncestor() const; |
+ virtual RenderObject* hoverAncestor() const { return parent(); } |
Element* offsetParent() const; |