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

Unified Diff: content/child/runtime_features.cc

Issue 2375493005: Enabled Pointer Events API in stable. (Closed)
Patch Set: Fixed runtime_features.cc Created 4 years, 3 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 | content/public/common/content_features.cc » ('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 20020abfb1796ed727c20167704d02b5e5e3c8ad..556df2fcd6f8676d2923423cab9c8d3f34fafa59 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -252,8 +252,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enableMediaDocumentDownloadButton(
base::FeatureList::IsEnabled(features::kMediaDocumentDownloadButton));
- if (base::FeatureList::IsEnabled(features::kPointerEvents))
- WebRuntimeFeatures::enablePointerEvent(true);
+ WebRuntimeFeatures::enablePointerEvent(
+ base::FeatureList::IsEnabled(features::kPointerEvents));
if (base::FeatureList::IsEnabled(features::kPointerEventV1SpecCapturing))
WebRuntimeFeatures::enablePointerEventV1SpecCapturing(true);
« no previous file with comments | « no previous file | content/public/common/content_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698