| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 1f395f7a540c7a48fa4d53be4850f596bf288b46..55b6d93344213bed2b0c84df89ed2964747e08ef 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5162,7 +5162,7 @@ void Document::adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>& quads
|
| if (!view())
|
| return;
|
|
|
| - LayoutRect visibleContentRect = view()->visualViewportRect();
|
| + LayoutRect visibleContentRect(view()->visualViewportRect());
|
| for (size_t i = 0; i < quads.size(); ++i) {
|
| quads[i].move(-FloatSize(visibleContentRect.x().toFloat(), visibleContentRect.y().toFloat()));
|
| adjustFloatQuadForAbsoluteZoom(quads[i], renderer);
|
| @@ -5174,7 +5174,7 @@ void Document::adjustFloatRectForScrollAndAbsoluteZoom(FloatRect& rect, LayoutOb
|
| if (!view())
|
| return;
|
|
|
| - LayoutRect visibleContentRect = view()->visualViewportRect();
|
| + LayoutRect visibleContentRect(view()->visualViewportRect());
|
| rect.move(-FloatSize(visibleContentRect.x().toFloat(), visibleContentRect.y().toFloat()));
|
| adjustFloatRectForAbsoluteZoom(rect, renderer);
|
| }
|
|
|