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 e1224b7da4e619fdb0d57a7e7970c5b181b83f18..e9668be10cb94fdd21704226c8eabf38a1367087 100644 |
--- a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp |
+++ b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp |
@@ -264,7 +264,7 @@ void ExternalPopupMenu::getPopupMenuInfo(WebPopupMenuInfo& info, |
static_cast<int>(menuStyle.font().getFontDescription().computedSize()); |
info.selectedIndex = toExternalPopupMenuItemIndex( |
ownerElement.selectedListIndex(), ownerElement); |
- info.rightAligned = menuStyle.direction() == RTL; |
+ info.rightAligned = menuStyle.direction() == TextDirection::Rtl; |
info.allowMultipleSelection = ownerElement.isMultiple(); |
if (count < itemCount) |
items.shrink(count); |