| Index: Source/core/rendering/RenderListBox.cpp
|
| diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp
|
| index e1c459596582dba665ee2b9b3c37e93b946f9a9a..c3b38a27b12a689b6d1cbdda4fdb362292a163f6 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().ensureStyleResolver().fontSelector());
|
| + itemFont.update(document().styleEngine()->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().ensureStyleResolver().fontSelector());
|
| + itemFont.update(document().styleEngine()->fontSelector());
|
| }
|
|
|
| // Draw the item text
|
|
|