| 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 f3ae79885c5abb4b72f02fbffaf47f8b3a4c630e..29813cdd9d1ffb3e0a18cf398789d7899df4fb85 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -3361,7 +3361,7 @@ void Element::setFloatingPointAttribute(const QualifiedName& attributeName,
|
|
|
| void Element::setContainsFullScreenElement(bool flag) {
|
| setElementFlag(ContainsFullScreenElement, flag);
|
| - document().styleEngine().ensureFullscreenUAStyle();
|
| + document().styleEngine().ensureUAStyleForFullscreen();
|
| pseudoStateChanged(CSSSelector::PseudoFullScreenAncestor);
|
| }
|
|
|
| @@ -3991,8 +3991,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
|
|
|