| Index: Source/core/layout/TextAutosizer.cpp
|
| diff --git a/Source/core/layout/TextAutosizer.cpp b/Source/core/layout/TextAutosizer.cpp
|
| index ffa92f2e2017fae2f753b4afb00c13d7ad2e518b..04c35aeb3c8d8ca38734488aa09a950ab40165c3 100644
|
| --- a/Source/core/layout/TextAutosizer.cpp
|
| +++ b/Source/core/layout/TextAutosizer.cpp
|
| @@ -562,9 +562,7 @@ IntSize TextAutosizer::windowSize() const
|
| {
|
| Page * page = m_document->page();
|
| ASSERT(page);
|
| - return page->settings().pinchVirtualViewportEnabled() ?
|
| - page->frameHost().pinchViewport().size() :
|
| - page->deprecatedLocalMainFrame()->view()->unscaledVisibleContentSize(IncludeScrollbars);
|
| + return page->frameHost().pinchViewport().size();
|
| }
|
|
|
| void TextAutosizer::resetMultipliers()
|
|
|