Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index a8fbae49e3b1169570b43afa4fda82d059a119c7..c82bc7cd69ab5bc2cfde7702fb82a14eea560783 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -437,6 +437,7 @@ public: |
bool hasPseudoStyle(PseudoId pseudo) const; |
void setHasPseudoStyle(PseudoId pseudo); |
bool hasUniquePseudoStyle() const; |
+ bool hasPseudoElementStyle() const; |
// attribute getter methods |
@@ -1890,6 +1891,11 @@ inline void RenderStyle::setHasPseudoStyle(PseudoId pseudo) |
noninherited_flags._pseudoBits |= 1 << (pseudo - 1); |
} |
+inline bool RenderStyle::hasPseudoElementStyle() const |
+{ |
+ return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
+} |
+ |
} // namespace WebCore |
#endif // RenderStyle_h |