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 4fa600c2f81abe70f24a4370f4389a025614f785..2fe19c3672dc57d4f9bfc46075ea5a1333653e50 100644 |
--- a/third_party/WebKit/Source/web/ExternalPopupMenu.cpp |
+++ b/third_party/WebKit/Source/web/ExternalPopupMenu.cpp |
@@ -266,7 +266,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); |