| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index 0bbd4b7a91896bd61615119cc466d77becbdd84a..5998bd43016cc0bd588537b3ad451b61ecef7ef4 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -380,7 +380,8 @@ void FrameView::setFrameRect(const IntRect& newRect)
|
| // Autosized font sizes depend on the width of the viewing area.
|
| if (newRect.width() != oldRect.width()) {
|
| Page* page = m_frame->page();
|
| - if (isMainFrame() && page->settings().textAutosizingEnabled()) {
|
| + bool textAutosizingEnabled = InspectorInstrumentation::overrideTextAutosizing(page, page->settings().textAutosizingEnabled());
|
| + if (isMainFrame() && textAutosizingEnabled) {
|
| TextAutosizer* textAutosizer = m_frame->document()->textAutosizer();
|
| if (textAutosizer) {
|
| for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext())
|
|
|