Title: [94263] trunk/Tools
Revision
94263
Author
aba...@webkit.org
Date
2011-08-31 18:46:24 -0700 (Wed, 31 Aug 2011)

Log Message

Move DumpRenderTree to WebKitPlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=67331

Reviewed by Darin Fisher.

This patch update DumpRenderTree to account for the WebKitClient =>
WebKitPlatformSupport rename.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (94262 => 94263)


--- trunk/Tools/ChangeLog	2011-09-01 01:43:10 UTC (rev 94262)
+++ trunk/Tools/ChangeLog	2011-09-01 01:46:24 UTC (rev 94263)
@@ -1,3 +1,18 @@
+2011-08-31  Adam Barth  <aba...@webkit.org>
+
+        Move DumpRenderTree to WebKitPlatformSupport
+        https://bugs.webkit.org/show_bug.cgi?id=67331
+
+        Reviewed by Darin Fisher.
+
+        This patch update DumpRenderTree to account for the WebKitClient =>
+        WebKitPlatformSupport rename.
+
+        * DumpRenderTree/chromium/NotificationPresenter.cpp:
+        (NotificationPresenter::show):
+        * DumpRenderTree/chromium/Task.cpp:
+        (postTask):
+
 2011-08-31  Eric Seidel  <e...@webkit.org>
 
         Add queues.webkit.org/active-bots page to make it easy to see which bots are down

Modified: trunk/Tools/DumpRenderTree/chromium/NotificationPresenter.cpp (94262 => 94263)


--- trunk/Tools/DumpRenderTree/chromium/NotificationPresenter.cpp	2011-09-01 01:43:10 UTC (rev 94262)
+++ trunk/Tools/DumpRenderTree/chromium/NotificationPresenter.cpp	2011-09-01 01:46:24 UTC (rev 94263)
@@ -32,7 +32,7 @@
 #include "NotificationPresenter.h"
 
 #include "WebKit.h"
-#include "WebKitClient.h"
+#include "WebKitPlatformSupport.h"
 #include "WebNotification.h"
 #include "WebNotificationPermissionCallback.h"
 #include "WebSecurityOrigin.h"
@@ -111,7 +111,7 @@
     WTF::String id(identifier.data(), identifier.length());
     m_activeNotifications.set(id, notification);
 
-    webKitClient()->callOnMainThread(deferredDisplayDispatch, new WebNotification(notification));
+    webKitPlatformSupport()->callOnMainThread(deferredDisplayDispatch, new WebNotification(notification));
     return true;
 }
 

Modified: trunk/Tools/DumpRenderTree/chromium/Task.cpp (94262 => 94263)


--- trunk/Tools/DumpRenderTree/chromium/Task.cpp	2011-09-01 01:43:10 UTC (rev 94262)
+++ trunk/Tools/DumpRenderTree/chromium/Task.cpp	2011-09-01 01:46:24 UTC (rev 94263)
@@ -32,7 +32,7 @@
 #include "Task.h"
 
 #include "WebKit.h"
-#include "WebKitClient.h"
+#include "WebKitPlatformSupport.h"
 
 WebTask::WebTask(TaskList* list)
     : m_taskList(list)
@@ -68,7 +68,7 @@
 
 void postTask(WebTask* task)
 {
-    WebKit::webKitClient()->callOnMainThread(invokeTask, static_cast<void*>(task));
+    WebKit::webKitPlatformSupport()->callOnMainThread(invokeTask, static_cast<void*>(task));
 }
 
 void postDelayedTask(WebTask* task, int64_t ms)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to