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

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

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: [css-display] Support display: contents pseudo-elements. Created 3 years, 10 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/PseudoElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/PseudoElement.cpp b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
index c0df72d0beadc0d7b6e029fcc295e3e6015a97e2..4f9676b97dee9521c485dd6ea60c3239e4e97e92 100644
--- a/third_party/WebKit/Source/core/dom/PseudoElement.cpp
+++ b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
@@ -97,8 +97,7 @@ PseudoElement::PseudoElement(Element* parent, PseudoId pseudoId)
}
PassRefPtr<ComputedStyle> PseudoElement::customStyleForLayoutObject() {
- return parentOrShadowHostElement()->layoutObject()->getCachedPseudoStyle(
- m_pseudoId);
+ return parentOrShadowHostElement()->getCachedPseudoStyleOrCache(m_pseudoId);
}
void PseudoElement::dispose() {

Powered by Google App Engine
This is Rietveld 408576698