Index: Source/web/WebNotification.cpp |
diff --git a/Source/web/WebNotification.cpp b/Source/web/WebNotification.cpp |
index 5484352d275a969b833628b7df7f0ac5db309759..0966fd647bb57d7bc8e895f52ee806ec2bf5ec67 100644 |
--- a/Source/web/WebNotification.cpp |
+++ b/Source/web/WebNotification.cpp |
@@ -65,9 +65,7 @@ WebString WebNotification::title() const |
WebTextDirection WebNotification::direction() const |
{ |
- return (m_private->direction() == RTL) ? |
- WebTextDirectionRightToLeft : |
- WebTextDirectionLeftToRight; |
+ return toWebTextDirection(m_private->direction()); |
} |
WebString WebNotification::lang() const |