Chromium Code Reviews| Index: Source/core/css/resolver/SharedStyleFinder.cpp |
| diff --git a/Source/core/css/resolver/SharedStyleFinder.cpp b/Source/core/css/resolver/SharedStyleFinder.cpp |
| index b7b25217eb4a89a84f707b85dc3bf9db632e17c1..116852dc4ad46263543c8f57affc4103f7aef0ed 100644 |
| --- a/Source/core/css/resolver/SharedStyleFinder.cpp |
| +++ b/Source/core/css/resolver/SharedStyleFinder.cpp |
| @@ -337,7 +337,7 @@ RenderStyle* SharedStyleFinder::findSharedStyle() |
| } |
| // Tracking child index requires unique style for each node. This may get set by the sibling rule match above. |
| - if (!element().parentElementOrShadowRoot()->childrenSupportStyleSharing()) { |
| + if (!element().parentElementOrDocumentFragment()->childrenSupportStyleSharing()) { |
|
esprehn
2014/05/08 05:25:11
This also doesn't make sense, we can't style share
Inactive
2014/05/08 13:17:36
Done.
|
| INCREMENT_STYLE_STATS_COUNTER(m_styleResolver, sharedStyleRejectedByParent); |
| return 0; |
| } |