| Index: Source/web/WebPopupMenuImpl.cpp
|
| diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
|
| index b769087e4c47b4cbdefd5b1ad0a2d858f1b42771..49896f487dbf1557b19974e2e04134c2d89c962d 100644
|
| --- a/Source/web/WebPopupMenuImpl.cpp
|
| +++ b/Source/web/WebPopupMenuImpl.cpp
|
| @@ -119,7 +119,7 @@ void WebPopupMenuImpl::handleMouseMove(const WebMouseEvent& event)
|
|
|
| // We cannot call setToolTipText() in PopupContainer, because PopupContainer is in WebCore, and we cannot refer to WebKit from Webcore.
|
| PopupContainer* container = static_cast<PopupContainer*>(m_widget);
|
| - client()->setToolTipText(container->getSelectedItemToolTip(), container->menuStyle().textDirection() == RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight);
|
| + client()->setToolTipText(container->getSelectedItemToolTip(), toWebTextDirection(container->menuStyle().textDirection()));
|
| }
|
| }
|
|
|
|
|