Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 496ce9b74b23afd78761ea318afb578b5480d068..81a5413352b0ee3d09fa7eddb0be739b5cb8eaf7 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -953,7 +953,7 @@ String Internals::viewportAsText(Document* document, float, int availableWidth, |
document->styleResolver()->viewportStyleResolver()->resolve(); |
ViewportArguments arguments = page->viewportArguments(); |
- PageScaleConstraints constraints = arguments.resolve(initialViewportSize, 980 /* defaultLayoutWidthForNonMobilePages */); |
+ PageScaleConstraints constraints = arguments.resolve(initialViewportSize); |
constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth); |