| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index f274fb4f6962e807ca2ccf2a3604237a8e378785..42f11c4058e93fddb962791a435994bbcf1bff76 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -586,9 +586,9 @@ IntRect ChromeClientImpl::viewportToScreen(const IntRect& rectInViewport, const
|
|
|
| if (client) {
|
| client->convertViewportToWindow(&screenRect);
|
| - WebRect windowRect = client->windowRect();
|
| - screenRect.x += windowRect.x;
|
| - screenRect.y += windowRect.y;
|
| + WebRect viewRect = client->viewRect();
|
| + screenRect.x += viewRect.x;
|
| + screenRect.y += viewRect.y;
|
| }
|
|
|
| return screenRect;
|
|
|