| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 5a001ab09d6f290385e56e6a1218992a7d608fde..f9f7733d59b098d10d0e25a995264050d3b88a97 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3734,6 +3734,11 @@ IntRect FrameView::contentsToScreen(const IntRect& rect) const
|
| return window->viewportToScreen(contentsToViewport(rect), this);
|
| }
|
|
|
| +float FrameView::viewportToWindowScale() const
|
| +{
|
| + return 1.f / getHostWindow()->windowToViewportScalar(1.f);
|
| +}
|
| +
|
| IntRect FrameView::soonToBeRemovedContentsToUnscaledViewport(const IntRect& rectInContents) const
|
| {
|
| IntRect rectInFrame = contentsToFrame(rectInContents);
|
|
|