Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 875ba140cabde90befdfa7eea6c3894431d1c059..7506357e6c37afef2b2dbe240613ffeea6d70aff 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2666,8 +2666,7 @@ void Element::createPseudoElementIfNeeded(PseudoId pseudoId) |
return; |
// Document::ensureStyleResolver is not inlined and shows up on profiles, avoid it here. |
- StyleEngine* engine = document().styleEngine(); |
- RefPtrWillBeRawPtr<PseudoElement> element = engine->ensureResolver().createPseudoElementIfNeeded(*this, pseudoId); |
+ RefPtrWillBeRawPtr<PseudoElement> element = document().styleEngine().ensureResolver().createPseudoElementIfNeeded(*this, pseudoId); |
if (!element) |
return; |