Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698