| 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 ad733eb0c4ddb3bace00238d67d869cb8e823127..0901671c0fc48d4f9966ae8bbf4c4c2542d404df 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -3033,7 +3033,7 @@ void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub
|
| void Element::setContainsFullScreenElement(bool flag)
|
| {
|
| setElementFlag(ContainsFullScreenElement, flag);
|
| - document().styleEngine().ensureFullscreenUAStyle();
|
| + document().styleEngine().ensureUAStyleForFullscreen();
|
| pseudoStateChanged(CSSSelector::PseudoFullScreenAncestor);
|
| }
|
|
|
| @@ -3613,7 +3613,7 @@ bool Element::supportsStyleSharing() const
|
| if (isSVGElement() && toSVGElement(this)->animatedSMILStyleProperties())
|
| return false;
|
| // Ids stop style sharing if they show up in the stylesheets.
|
| - if (hasID() && document().ensureStyleResolver().hasRulesForId(idForStyleResolution()))
|
| + if (hasID() && document().styleEngine().hasRulesForId(idForStyleResolution()))
|
| return false;
|
| // :active and :hover elements always make a chain towards the document node
|
| // and no siblings or cousins will have the same state. There's also only one
|
|
|