Index: Source/core/rendering/RenderMenuList.h |
diff --git a/Source/core/rendering/RenderMenuList.h b/Source/core/rendering/RenderMenuList.h |
index 28ce036d3dba22645b75a1b6422cb20536b693f4..5ef7b23b38403091385f4946fa6470a2e961e3cb 100644 |
--- a/Source/core/rendering/RenderMenuList.h |
+++ b/Source/core/rendering/RenderMenuList.h |
@@ -96,7 +96,7 @@ private: |
virtual void setTextFromItem(unsigned listIndex) override; |
virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true) override; |
virtual bool multiple() const override; |
- virtual IntRect elementRectRelativeToRootView() const override; |
+ virtual IntRect elementRectRelativeToViewport() const override; |
virtual Element& ownerElement() const override; |
virtual const LayoutStyle* layoutStyleForItem(Element&) const override; |