Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index 8cc9fc6433ccf22bb572bf66b5ee5c164db19a82..8920c12c5c5193ffced8c83762ee212977b6f82c 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -921,7 +921,7 @@ String Internals::viewportAsText(Document* document, float, int availableWidth, |
document->page()->deprecatedLocalMainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(), initialViewportSize)); |
ViewportDescription description = page->viewportDescription(); |
- PageScaleConstraints constraints = description.resolve(initialViewportSize, Length()); |
+ PageScaleConstraints constraints = description.resolve(FloatSize(initialViewportSize), Length()); |
constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth); |
constraints.resolveAutoInitialScale(); |