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

Unified Diff: Source/core/css/CSSSelector.h

Issue 662243003: Use ::-internal-media-controls* instead of ::-webkit-media-controls* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: introduce PseudoInternalCustomElement Created 6 years, 2 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 | « LayoutTests/media/media-controls.js ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSSelector.h
diff --git a/Source/core/css/CSSSelector.h b/Source/core/css/CSSSelector.h
index 56ea79165f6dd005f892ae0bc47b1e899436df51..0e0504bc9e1b345a21d37ad3a277a57c0a0fb4f7 100644
--- a/Source/core/css/CSSSelector.h
+++ b/Source/core/css/CSSSelector.h
@@ -205,6 +205,7 @@ namespace blink {
PseudoFullScreenAncestor,
PseudoInRange,
PseudoOutOfRange,
+ PseudoInternalCustomElement,
PseudoUserAgentCustomElement,
PseudoWebKitCustomElement,
PseudoCue,
@@ -405,7 +406,7 @@ inline bool CSSSelector::matchesPseudoElement() const
inline bool CSSSelector::isCustomPseudoElement() const
{
- return m_match == PseudoElement && (m_pseudoType == PseudoUserAgentCustomElement || m_pseudoType == PseudoWebKitCustomElement);
+ return m_match == PseudoElement && (m_pseudoType == PseudoInternalCustomElement || m_pseudoType == PseudoUserAgentCustomElement || m_pseudoType == PseudoWebKitCustomElement);
}
inline bool CSSSelector::isHostPseudoClass() const
« no previous file with comments | « LayoutTests/media/media-controls.js ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698