WebFonts intervention: Enable v2 by default

Desktop / Chromium - Takashi Toyoshima [chromium.org] - 12 October 2017 00:55 EDT

Now that we are launching the v2 feature, this patch enables the feature on ToT by default, and remove configurable parameters.

Bug: 578029 Change-Id: Ibfad3eaf91df5261ed529baa1d88e280e708e18a Reviewed-on: https://chromium-review.googlesource.com/701940

e1a85cf WebFonts intervention: Enable v2 by default
chrome/browser/about_flags.cc | 24 ----------
chrome/browser/flag_descriptions.cc | 17 --------
chrome/browser/flag_descriptions.h | 11 -----
.../renderer_host/render_process_host_impl.cc | 2 -
content/child/runtime_features.cc | 35 ---------------
content/public/common/content_switches.cc | 14 ------
content/public/common/content_switches.h | 10 -----
content/renderer/render_frame_impl.cc | 5 +++
content/renderer/render_frame_impl.h | 2 +
testing/variations/fieldtrial_testing_config.json | 16 -------
.../tests/webfont/font-display-intervention.html | 6 +--
.../Source/core/css/RemoteFontFaceSource.cpp | 51 ++++------------------
.../Source/core/exported/LocalFrameClientImpl.cpp | 6 +++
.../Source/core/exported/LocalFrameClientImpl.h | 2 +
.../WebKit/Source/core/frame/LocalFrameClient.h | 3 ++
.../WebKit/Source/core/testing/Internals.cpp | 4 ++
.../platform/exported/WebRuntimeFeatures.cpp | 16 -------
.../Source/platform/runtime_enabled_features.json5 | 12 -----
.../WebKit/public/platform/WebRuntimeFeatures.h | 5 ---
third_party/WebKit/public/web/WebFrameClient.h | 4 ++
20 files changed, 38 insertions(+), 207 deletions(-)

Upstream: git.chromium.org


  • Share