| Index: Source/core/frame/PinchViewport.cpp
|
| diff --git a/Source/core/frame/PinchViewport.cpp b/Source/core/frame/PinchViewport.cpp
|
| index 73b443b684c7fc3c8dea81644d36bdb38185d9d5..4b20bc08d9ebbdac6c12b02cd6552e09909130d8 100644
|
| --- a/Source/core/frame/PinchViewport.cpp
|
| +++ b/Source/core/frame/PinchViewport.cpp
|
| @@ -146,9 +146,7 @@ FloatRect PinchViewport::visibleRectInDocument() const
|
| return FloatRect();
|
|
|
| FloatPoint viewLocation = FloatPoint(mainFrame()->view()->scrollableArea()->scrollPositionDouble());
|
| - FloatRect pinchRect = visibleRect();
|
| - pinchRect.moveBy(viewLocation);
|
| - return pinchRect;
|
| + return FloatRect(viewLocation, visibleSize());
|
| }
|
|
|
| FloatRect PinchViewport::mainViewToViewportCSSPixels(const FloatRect& rect) const
|
|
|