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() { |