Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index ad9dd8b17861d1c804a33dccffac4d1fc0c660ea..59c61b06f5ef66255b9c20a525c902423aab4cd2 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -978,7 +978,7 @@ String Internals::viewportAsText(Document* document, float, int availableWidth, |
document->page()->mainFrame()->view()->setFrameRect(IntRect(IntPoint::zero(), initialViewportSize)); |
ViewportArguments arguments = page->viewportArguments(); |
- PageScaleConstraints constraints = arguments.resolve(initialViewportSize, 980 /* defaultLayoutWidthForNonMobilePages */); |
+ PageScaleConstraints constraints = arguments.resolve(initialViewportSize); |
constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth); |