Index: Source/core/rendering/RenderMenuList.cpp |
diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp |
index f0ecf53a2569fe03511afbd7bff61f4d19d19bf8..e04bd7e291eb03c7c6f2b054ff16c7e82f58c569 100644 |
--- a/Source/core/rendering/RenderMenuList.cpp |
+++ b/Source/core/rendering/RenderMenuList.cpp |
@@ -602,7 +602,7 @@ void RenderMenuList::setTextFromItem(unsigned listIndex) |
FontSelector* RenderMenuList::fontSelector() const |
{ |
- return document().ensureStyleResolver().fontSelector(); |
+ return document().styleEngine()->fontSelector(); |
} |
} |