Index: Source/core/rendering/RenderListBox.cpp |
diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp |
index 9b4107844ac12fc80b8efc0ab99d30abfe6358a9..fa5b048b3605bff8bd82d47389a74daedc209f2e 100644 |
--- a/Source/core/rendering/RenderListBox.cpp |
+++ b/Source/core/rendering/RenderListBox.cpp |
@@ -128,7 +128,7 @@ void RenderListBox::updateFromElement() |
FontDescription d = itemFont.fontDescription(); |
d.setWeight(d.bolderWeight()); |
itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); |
- itemFont.update(document().styleResolver()->fontSelector()); |
+ itemFont.update(document().fontSelector()); |
} |
if (!text.isEmpty()) { |
@@ -433,7 +433,7 @@ void RenderListBox::paintItemForeground(PaintInfo& paintInfo, const LayoutPoint& |
FontDescription d = itemFont.fontDescription(); |
d.setWeight(d.bolderWeight()); |
itemFont = Font(d, itemFont.letterSpacing(), itemFont.wordSpacing()); |
- itemFont.update(document().styleResolver()->fontSelector()); |
+ itemFont.update(document().fontSelector()); |
} |
// Draw the item text |