| Index: third_party/WebKit/Source/web/ExternalPopupMenu.cpp
|
| diff --git a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
|
| index 2b89766e9da29c7a393e9aa001b5433f615f5729..2e2275ba5f53a3a5a1166ecb21791a2209f49e81 100644
|
| --- a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
|
| +++ b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp
|
| @@ -260,8 +260,8 @@ void ExternalPopupMenu::getPopupMenuInfo(WebPopupMenuInfo& info, HTMLSelectEleme
|
| }
|
|
|
| const ComputedStyle& menuStyle = ownerElement.computedStyle() ? *ownerElement.computedStyle() : *ownerElement.ensureComputedStyle();
|
| - info.itemHeight = menuStyle.font().fontMetrics().height();
|
| - info.itemFontSize = static_cast<int>(menuStyle.font().fontDescription().computedSize());
|
| + info.itemHeight = menuStyle.font().getFontMetrics().height();
|
| + info.itemFontSize = static_cast<int>(menuStyle.font().getFontDescription().computedSize());
|
| info.selectedIndex = toExternalPopupMenuItemIndex(ownerElement.optionToListIndex(ownerElement.selectedIndex()), ownerElement);
|
| info.rightAligned = menuStyle.direction() == RTL;
|
| info.allowMultipleSelection = ownerElement.multiple();
|
|
|