| Index: Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp
|
| index bbe536bd8dcbc74cd20f13ad4dcdf25841459d18..0672fbfc175e734d5927796788f2dffe23d242bc 100644
|
| --- a/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -171,18 +171,6 @@ void ShadowRoot::recalcStyle(StyleRecalcChange change)
|
| clearChildNeedsStyleRecalc();
|
| }
|
|
|
| -bool ShadowRoot::isActiveForStyling() const
|
| -{
|
| - if (!youngerShadowRoot())
|
| - return true;
|
| -
|
| - if (InsertionPoint* point = shadowInsertionPointOfYoungerShadowRoot()) {
|
| - if (point->containingShadowRoot())
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| void ShadowRoot::setApplyAuthorStyles(bool value)
|
| {
|
| if (isOrphan())
|
| @@ -192,8 +180,6 @@ void ShadowRoot::setApplyAuthorStyles(bool value)
|
| return;
|
|
|
| m_applyAuthorStyles = value;
|
| - if (!isActiveForStyling())
|
| - return;
|
|
|
| ASSERT(host());
|
| ASSERT(host()->shadow());
|
|
|