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

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

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Rebase 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..cfe7fc13275792e935ce0f0072f13f305209d4ab 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -255,10 +255,7 @@ 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();
+ return g_empty_string;
}
static String FormatChromiumMediaControlsTime(float time,
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp ('k') | third_party/WebKit/Source/core/page/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698