| Index: third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
|
| index ba85f54259f5b63e642679c401d53ee95e4032d0..68b82d4875b99ef52f14e1828303bddcb7d719c3 100644
|
| --- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
|
| +++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
|
| @@ -210,7 +210,12 @@ bool RemoteFontFaceSource::shouldTriggerWebFontsIntervention() {
|
| }
|
|
|
| bool RemoteFontFaceSource::isLowPriorityLoadingAllowedForRemoteFont() const {
|
| - return m_isInterventionTriggered;
|
| + bool isV2Enabled =
|
| + RuntimeEnabledFeatures::webFontsInterventionV2With2GEnabled() ||
|
| + RuntimeEnabledFeatures::webFontsInterventionV2With3GEnabled() ||
|
| + RuntimeEnabledFeatures::webFontsInterventionV2WithSlow2GEnabled();
|
| +
|
| + return m_isInterventionTriggered && isV2Enabled;
|
| }
|
|
|
| PassRefPtr<SimpleFontData> RemoteFontFaceSource::createFontData(
|
|
|