Index: Source/core/testing/InternalSettings.cpp |
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp |
index 074c6ed9e5dcb5bc3322131c8fc2b681c3f3f3ef..e872b38371e00d2a0c78dbcbb954c9636eb285b6 100644 |
--- a/Source/core/testing/InternalSettings.cpp |
+++ b/Source/core/testing/InternalSettings.cpp |
@@ -32,6 +32,7 @@ |
#include "core/dom/ExceptionCode.h" |
#include "core/page/Page.h" |
#include "core/frame/Settings.h" |
+#include "core/inspector/InspectorInstrumentation.h" |
#include "platform/ColorChooser.h" |
#include "platform/Supplementable.h" |
#include "platform/text/LocaleToScriptMapping.h" |
@@ -153,6 +154,7 @@ void InternalSettings::resetToConsistentState() |
m_backup.restoreTo(settings()); |
m_backup = Backup(settings()); |
+ m_backup.m_originalTextAutosizingEnabled = InspectorInstrumentation::overrideTextAutosizing(page(), settings()->textAutosizingEnabled()); |
InternalSettingsGenerated::resetToConsistentState(); |
} |