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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Delete RuntimeEnabledFeatures::contextMenuEnabled Created 3 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
Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 0279ba319f41e42d3468a5386cf1004275d4c037..26a89eb244b65ce4d2751b88ab8cdac3a16b6718 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -256,8 +256,6 @@ void LayoutTheme::AdjustStyle(ComputedStyle& style, Element* e) {
String LayoutTheme::ExtraDefaultStyleSheet() {
StringBuilder runtime_css;
- if (RuntimeEnabledFeatures::contextMenuEnabled())
- runtime_css.Append("menu[type=\"context\" i] { display: none; }");
return runtime_css.ToString();
tkent 2017/05/26 04:48:53 We can remove |runtime_css|, and return g_empty_st
yuzuchan 2017/05/30 07:15:20 Done.
}

Powered by Google App Engine
This is Rietveld 408576698