Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: third_party/WebKit/Source/web/ExternalPopupMenu.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698