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

Unified Diff: Source/core/rendering/style/RenderStyle.h

Issue 144963002: Make pseudo element update work with LocalStyleChange. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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: Source/core/rendering/style/RenderStyle.h
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
index a8fbae49e3b1169570b43afa4fda82d059a119c7..132d1b28d0d3064cb9983d59071befcd79ace52e 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 hasContentPseudoStyle() const;
// attribute getter methods
@@ -1890,6 +1891,11 @@ inline void RenderStyle::setHasPseudoStyle(PseudoId pseudo)
noninherited_flags._pseudoBits |= 1 << (pseudo - 1);
}
+inline bool RenderStyle::hasContentPseudoStyle() const
+{
+ return noninherited_flags._pseudoBits & CONTENT_PSEUDOID_MASK;
esprehn 2014/01/24 22:53:49 CONTENT is confusing since we have ::content which
rune 2014/01/25 00:00:38 Done.
+}
+
} // namespace WebCore
#endif // RenderStyle_h

Powered by Google App Engine
This is Rietveld 408576698