Index: Source/core/html/forms/PopupMenuClient.h |
diff --git a/Source/core/html/forms/PopupMenuClient.h b/Source/core/html/forms/PopupMenuClient.h |
index 2bd48e7f01147ebde95f2a81df0eefe7ce845d60..c1798a9f72cfd34219517488ae7beb1af5de81c8 100644 |
--- a/Source/core/html/forms/PopupMenuClient.h |
+++ b/Source/core/html/forms/PopupMenuClient.h |
@@ -54,7 +54,7 @@ public: |
virtual bool itemIsLabel(unsigned listIndex) const = 0; |
virtual bool itemIsSelected(unsigned listIndex) const = 0; |
virtual void setTextFromItem(unsigned listIndex) = 0; |
- virtual IntRect elementRectRelativeToRootView() const = 0; |
+ virtual IntRect elementRectRelativeToViewport() const = 0; |
virtual Element& ownerElement() const = 0; |
virtual const LayoutStyle* layoutStyleForItem(Element&) const = 0; |