X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fweb%2FWebNotification.cpp;h=0966fd647bb57d7bc8e895f52ee806ec2bf5ec67;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=91cc927446786860a9fb1ac328aeecae7d14334e;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/web/WebNotification.cpp b/src/third_party/WebKit/Source/web/WebNotification.cpp index 91cc927..0966fd6 100644 --- a/src/third_party/WebKit/Source/web/WebNotification.cpp +++ b/src/third_party/WebKit/Source/web/WebNotification.cpp @@ -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