| Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| index af349b9e7f6245aae326b0df7cf01ac433649477..b69e5c84a6fcfb0a50cf92d88ce79583ce7c3d72 100644
|
| --- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| @@ -276,7 +276,7 @@ void PopupMenuImpl::writeDocument(SharedBuffer* data)
|
|
|
| addProperty("anchorRectInScreen", anchorRectInScreen, data);
|
| float zoom = zoomFactor();
|
| - float scaleFactor = m_chromeClient->windowToViewportScalar(1.f);
|
| + float scaleFactor = m_chromeClient->windowToViewportScalar(1.f, ownerElement.document().frame()->view());
|
| addProperty("zoomFactor", zoom / scaleFactor, data);
|
| bool isRTL = !ownerStyle->isLeftToRightDirection();
|
| addProperty("isRTL", isRTL, data);
|
|
|