| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 753c293cb260a97f1339e69ef3709a3419527fa8..8cc7d34fdd4e19c7c383787aadecacf3ba504892 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -3292,6 +3292,8 @@ WebSize WebViewImpl::ContentsPreferredMinimumSize() {
|
| !document->documentElement()->GetLayoutBox())
|
| return WebSize();
|
|
|
| + // Needed for computing MinPreferredWidth.
|
| + FontCachePurgePreventer fontCachePurgePreventer;
|
| int width_scaled = document->GetLayoutViewItem()
|
| .MinPreferredLogicalWidth()
|
| .Round(); // Already accounts for zoom.
|
|
|