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 b3692d8be0eb5db206eb7cb55d4b77fda002e105..706efc152f993dadbc662cb86a14c578a3aeeefe 100644 |
--- a/third_party/WebKit/Source/core/dom/PseudoElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/PseudoElement.cpp |
@@ -97,8 +97,8 @@ PseudoElement::PseudoElement(Element* parent, PseudoId pseudoId) |
} |
PassRefPtr<ComputedStyle> PseudoElement::customStyleForLayoutObject() { |
- return parentOrShadowHostElement()->layoutObject()->getCachedPseudoStyle( |
- m_pseudoId); |
+ return parentOrShadowHostElement()->pseudoStyle( |
+ PseudoStyleRequest(m_pseudoId)); |
} |
void PseudoElement::dispose() { |