Index: Source/WebCore/rendering/TextAutosizer.cpp |
=================================================================== |
--- Source/WebCore/rendering/TextAutosizer.cpp (revision 139470) |
+++ Source/WebCore/rendering/TextAutosizer.cpp (working copy) |
@@ -67,7 +67,7 @@ |
if (windowInfo.windowSize.isEmpty()) { |
bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenWidthOverride(mainFrame); |
windowInfo.windowSize = mainFrame->view()->visibleContentRect(includeScrollbars).size(); |
- if (!m_document->settings()->applyPageScaleFactorInCompositor()) |
+ if (!m_document->settings()->applyDeviceScaleFactorInCompositor()) |
windowInfo.windowSize.scale(1 / m_document->page()->deviceScaleFactor()); |
} |