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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp

Issue 2734093003: Remove -internals-media-controls-cast-button as web exposed CSS selector. (Closed)
Patch Set: fix tests Created 3 years, 9 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/css/parser/CSSSelectorParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
index 9143aa370564f0cbaa769690672efba15a4f053d..a676948be4eac567e1adb06d3f446e49fecc17c2 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
@@ -850,10 +850,8 @@ void CSSSelectorParser::recordUsageAndDeprecations(
break;
case CSSSelector::PseudoWebKitCustomElement:
if (m_context->mode() != UASheetMode) {
- if (current->value() == "-internal-media-controls-cast-button") {
- feature = UseCounter::CSSSelectorInternalMediaControlsCastButton;
- } else if (current->value() ==
- "-internal-media-controls-overlay-cast-button") {
+ if (current->value() ==
+ "-internal-media-controls-overlay-cast-button") {
feature =
UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton;
} else if (current->value() ==

Powered by Google App Engine
This is Rietveld 408576698