| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index eefdef524b8bd899f7e86af47121158ee749b1ba..d5d76e9237b4b1a1e0aa6ac6e2c617419d8cd675 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -939,7 +939,7 @@ void Internals::setPagination(Document* document, const String& mode, int gap, i
|
| page->setPagination(pagination);
|
| }
|
|
|
| -String Internals::configurationForViewport(Document* document, float, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight, ExceptionState& es)
|
| +String Internals::configurationForViewport(Document* document, float, int availableWidth, int availableHeight, ExceptionState& es)
|
| {
|
| if (!document || !document->page()) {
|
| es.throwDOMException(InvalidAccessError);
|
| @@ -953,7 +953,7 @@ String Internals::configurationForViewport(Document* document, float, int device
|
| document->styleResolver()->viewportStyleResolver()->resolve();
|
|
|
| ViewportArguments arguments = page->viewportArguments();
|
| - PageScaleConstraints constraints = arguments.resolve(initialViewportSize, FloatSize(deviceWidth, deviceHeight), 980 /* defaultLayoutWidthForNonMobilePages */);
|
| + PageScaleConstraints constraints = arguments.resolve(initialViewportSize, 980 /* defaultLayoutWidthForNonMobilePages */);
|
|
|
| constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth);
|
|
|
|
|