Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebNotification.cpp
index 91cc927..0966fd6 100644 (file)
@@ -36,8 +36,6 @@
 #include "public/platform/WebURL.h"
 #include "wtf/PassRefPtr.h"
 
-using WebCore::Notification;
-
 namespace blink {
 
 void WebNotification::reset()
@@ -67,9 +65,7 @@ WebString WebNotification::title() const
 
 WebTextDirection WebNotification::direction() const
 {
-    return (m_private->direction() == WebCore::RTL) ?
-        WebTextDirectionRightToLeft :
-        WebTextDirectionLeftToRight;
+    return toWebTextDirection(m_private->direction());
 }
 
 WebString WebNotification::lang() const