| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index caf5c7ed77ddb838af6063eb06c90b85c048f2b5..fede332a2a2928310f90628608d2ca216e46e7f0 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -4047,10 +4047,6 @@ bool Element::supportsStyleSharing() const {
|
| return false;
|
| if (isHTMLElement() && toHTMLElement(this)->hasDirectionAuto())
|
| return false;
|
| - // TODO(kochi): This prevents any slotted elements from sharing styles.
|
| - // Investigate cases where we share styles to optimize styling performance.
|
| - if (isChildOfV1ShadowHost())
|
| - return false;
|
| if (hasAnimations())
|
| return false;
|
| if (Fullscreen::isFullscreenElement(*this))
|
|
|