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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 14861002: Disable the Datalist element on the Android platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dataListElement - runtime flag Created 7 years, 7 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 68ae9584550a4b90cd4d53e39f9d9cdf6c19a5a9..8f444be0428dcf051ad26affb6099bd05ea5a58f 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -650,6 +650,8 @@ static void AdjustRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableInputTypeWeek(false);
// Android does not have support for PagePopup
WebRuntimeFeatures::enablePagePopup(false);
+ // datalist on Android is not enabled
+ WebRuntimeFeatures::enableDataListElement(false);
#endif
}
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698