Index: Source/web/PageScaleConstraintsSet.cpp |
diff --git a/Source/web/PageScaleConstraintsSet.cpp b/Source/web/PageScaleConstraintsSet.cpp |
index 4460ca7b547ccd7d0ef3c29ccfd95d622227de99..e9d363c38264a8c6faa6ab390eb12cd9bf7aa8ca 100644 |
--- a/Source/web/PageScaleConstraintsSet.cpp |
+++ b/Source/web/PageScaleConstraintsSet.cpp |
@@ -31,6 +31,7 @@ |
#include "config.h" |
#include "PageScaleConstraintsSet.h" |
+#include "platform/Length.h" |
#include "wtf/Assertions.h" |
using namespace WebCore; |
@@ -53,9 +54,9 @@ PageScaleConstraints PageScaleConstraintsSet::defaultConstraints() const |
return PageScaleConstraints(-1, defaultMinimumScale, defaultMaximumScale); |
} |
-void PageScaleConstraintsSet::updatePageDefinedConstraints(const ViewportDescription& description, IntSize viewSize) |
+void PageScaleConstraintsSet::updatePageDefinedConstraints(const ViewportDescription& description, IntSize viewSize, Length legacyFallbackWidth) |
{ |
- m_pageDefinedConstraints = description.resolve(viewSize); |
+ m_pageDefinedConstraints = description.resolve(viewSize, legacyFallbackWidth); |
m_constraintsDirty = true; |
} |