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

Unified Diff: Source/WebCore/dom/ShadowRoot.cpp

Issue 8041049: Merge 95600 - Style changes on forwarded shadow children should trigger shadow renderer reconstru... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 3 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 | « Source/WebCore/dom/ShadowRoot.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/ShadowRoot.cpp
===================================================================
--- Source/WebCore/dom/ShadowRoot.cpp (revision 96024)
+++ Source/WebCore/dom/ShadowRoot.cpp (working copy)
@@ -114,6 +114,11 @@
setNeedsStyleRecalc();
}
+bool ShadowRoot::isInclusionSelectorActive() const
+{
+ return m_inclusions && m_inclusions->hasCandidates();
+}
+
bool ShadowRoot::hasContentElement() const
{
for (Node* n = firstChild(); n; n = n->traverseNextNode(this)) {
« no previous file with comments | « Source/WebCore/dom/ShadowRoot.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698