[iOS] Implement idempotent mode for text autosizing
[WebKit-https.git] / Source / WebCore / page / Page.cpp
index 965eb47..067c341 100644 (file)
@@ -1077,6 +1077,11 @@ void Page::setDeviceScaleFactor(float scaleFactor)
     pageOverlayController().didChangeDeviceScaleFactor();
 }
 
+void Page::setInitialScale(float initialScale)
+{
+    m_initialScale = initialScale;
+}
+
 void Page::setUserInterfaceLayoutDirection(UserInterfaceLayoutDirection userInterfaceLayoutDirection)
 {
     if (m_userInterfaceLayoutDirection == userInterfaceLayoutDirection)