2010-05-19 Dirk Pranke <dpranke@chromium.org>
authordpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 May 2010 22:43:20 +0000 (22:43 +0000)
committerdpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 May 2010 22:43:20 +0000 (22:43 +0000)
        Unreviewed, build fix.

        * DumpRenderTree/chromium/NotificationPresenter.cpp:
        (NotificationPresenter::show):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59789 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/chromium/NotificationPresenter.cpp

index cea88fc001a142916f32bbb5f3887811283ce502..bee51e93f64c3aabd20fe2ae6c9a352df70038e0 100644 (file)
@@ -1,3 +1,10 @@
+2010-05-19  Dirk Pranke  <dpranke@chromium.org>
+
+        Unreviewed, build fix.
+
+        * DumpRenderTree/chromium/NotificationPresenter.cpp:
+        (NotificationPresenter::show):
+
 2010-05-19  Eric Seidel  <eric@webkit.org>
 
         Reviewed by Adam Barth.
index 86903be36b28bd15768d7d48f8fe624745c1ec29..501b513bc8af19a7490b2876ea7d59d1c381fbda 100644 (file)
@@ -52,23 +52,11 @@ void NotificationPresenter::grantPermission(const WebString& origin)
 // The output from all these methods matches what DumpRenderTree produces.
 bool NotificationPresenter::show(const WebNotification& notification)
 {
-    if (!notification.replaceId().isEmpty()) {
-        String replaceId(notification.replaceId().data(), notification.replaceId().length());
-        if (m_replacements.find(replaceId) != m_replacements.end())
-            printf("REPLACING NOTIFICATION %s\n",
-                   m_replacements.find(replaceId)->second.utf8().data());
-
-        WebString identifier = notification.isHTML() ?
-            notification.url().spec().utf16() : notification.title();
-        m_replacements.set(replaceId, String(identifier.data(), identifier.length()));
-    }
-
     if (notification.isHTML()) {
         printf("DESKTOP NOTIFICATION: contents at %s\n",
                notification.url().spec().data());
     } else {
-        printf("DESKTOP NOTIFICATION:%s icon %s, title %s, text %s\n",
-               notification.dir() == "rtl" ? "(RTL)" : "",
+        printf("DESKTOP NOTIFICATION: icon %s, title %s, text %s\n",
                notification.iconURL().isEmpty() ? "" :
                notification.iconURL().spec().data(),
                notification.title().isEmpty() ? "" :