| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index b52484a842069c0bf25644f2b0bd932b6f38af81..9b23374ca46dc52040de08e230f9fac192755fc6 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -1159,6 +1159,9 @@ void InspectorPageAgent::updateViewMetrics(int width, int height, double deviceS
|
| if (m_deviceMetricsOverridden) {
|
| m_page->settings().setTextAutosizingEnabled(textAutosizingEnabled);
|
| m_page->settings().setDeviceScaleAdjustment(fontScaleFactor);
|
| + } else {
|
| + m_page->settings().setTextAutosizingEnabled(m_embedderTextAutosizingEnabled);
|
| + m_page->settings().setDeviceScaleAdjustment(m_embedderFontScaleFactor);
|
| }
|
|
|
| // FIXME: allow metrics override, fps counter and continuous painting at the same time: crbug.com/299837.
|
|
|