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

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 after reopen 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
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextRun.h ('k') | third_party/WebKit/Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextRun.h ('k') | third_party/WebKit/Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698