Index: Source/web/PopupMenuImpl.cpp |
diff --git a/Source/web/PopupMenuImpl.cpp b/Source/web/PopupMenuImpl.cpp |
index 7ed974451030a92193f2e89b232f18b7778eae30..d1170ea68b435b7a5137ec8ecbf739e7d6359238 100644 |
--- a/Source/web/PopupMenuImpl.cpp |
+++ b/Source/web/PopupMenuImpl.cpp |
@@ -208,7 +208,7 @@ void PopupMenuImpl::addSeparator(HTMLHRElement& element, SharedBuffer* data) |
void PopupMenuImpl::didWriteDocument(Document& document) |
{ |
Document& ownerDocument = ownerElement().document(); |
- document.styleEngine()->setFontSelector(PopupMenuCSSFontSelector::create(&document, ownerDocument.styleEngine()->fontSelector())); |
+ document.styleEngine().setFontSelector(PopupMenuCSSFontSelector::create(&document, ownerDocument.styleEngine().fontSelector())); |
} |
void PopupMenuImpl::setValueAndClosePopup(int numValue, const String& stringValue) |