Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: content/child/runtime_features.cc

Issue 2098883002: Make PointerEvent an experimental web platform feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, fixed js path. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/LeakExpectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 6233f24d614a99da1a82629c06a8ea7bec662e41..170d273a9f52efe7b45125f963d7d811f351c7b1 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -229,10 +229,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enableMediaDocumentDownloadButton(
base::FeatureList::IsEnabled(features::kMediaDocumentDownloadButton));
- if (base::FeatureList::IsEnabled(features::kPointerEvents)) {
- WebRuntimeFeatures::enableFeatureFromString(
- std::string("PointerEvent"), true);
- }
+ if (base::FeatureList::IsEnabled(features::kPointerEvents))
+ WebRuntimeFeatures::enableFeatureFromString("PointerEvent", true);
WebRuntimeFeatures::enableFeatureFromString(
"FontCacheScaling",
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/LeakExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698