| Index: Source/core/rendering/RenderMenuList.cpp
|
| diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp
|
| index 5e1629e01cf2362d3fe8885dd842726b0399234c..8f2cbcfb909d24bc823502fbab7633a34dc7fd58 100644
|
| --- a/Source/core/rendering/RenderMenuList.cpp
|
| +++ b/Source/core/rendering/RenderMenuList.cpp
|
| @@ -378,9 +378,9 @@ bool RenderMenuList::multiple() const
|
| return selectElement()->multiple();
|
| }
|
|
|
| -IntRect RenderMenuList::elementRectRelativeToRootView() const
|
| +IntRect RenderMenuList::elementRectRelativeToViewport() const
|
| {
|
| - return selectElement()->document().view()->contentsToRootView(pixelSnappedIntRect(absoluteBoundingBoxRect()));
|
| + return selectElement()->document().view()->contentsToWindow(pixelSnappedIntRect(absoluteBoundingBoxRect()));
|
| }
|
|
|
| Element& RenderMenuList::ownerElement() const
|
|
|