2009-03-30 Jan Michael Alonzo <jmalonzo@webkit.org>
authorjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2009 09:13:41 +0000 (09:13 +0000)
committerjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2009 09:13:41 +0000 (09:13 +0000)
        Gtk DRT build fix per changeset
        http://trac.webkit.org/changeset/42082. Not reviewed.

        * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
        (LoadItem::invoke):
        (ScriptItem::invoke):

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

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp

index 86808bb..38cfb8b 100644 (file)
@@ -1,3 +1,12 @@
+2009-03-30  Jan Michael Alonzo  <jmalonzo@webkit.org>
+
+        Gtk DRT build fix per changeset
+        http://trac.webkit.org/changeset/42082. Not reviewed.
+
+        * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
+        (LoadItem::invoke):
+        (ScriptItem::invoke):
+
 2009-03-29  Darin Adler  <darin@apple.com>
 
         * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
index 2e681d4..e0e0ffb 100644 (file)
@@ -38,7 +38,7 @@ gchar* JSStringCopyUTF8CString(JSStringRef jsString)
 
 bool LoadItem::invoke() const
 {
-    gchar* targetString = JSStringCopyUTF8CString(target());
+    gchar* targetString = JSStringCopyUTF8CString(m_target.get());
 
     WebKitWebFrame* targetFrame;
     if (!strlen(targetString))
@@ -47,7 +47,7 @@ bool LoadItem::invoke() const
         targetFrame = webkit_web_frame_find_frame(mainFrame, targetString);
     g_free(targetString);
 
-    gchar* urlString = JSStringCopyUTF8CString(url());
+    gchar* urlString = JSStringCopyUTF8CString(m_url.get());
     WebKitNetworkRequest* request = webkit_network_request_new(urlString);
     g_free(urlString);
     webkit_web_frame_load_request(targetFrame, request);
@@ -65,7 +65,7 @@ bool ReloadItem::invoke() const
 bool ScriptItem::invoke() const
 {
     WebKitWebView* webView = webkit_web_frame_get_web_view(mainFrame);
-    gchar* scriptString = JSStringCopyUTF8CString(script());
+    gchar* scriptString = JSStringCopyUTF8CString(m_script.get());
     webkit_web_view_execute_script(webView, scriptString);
     g_free(scriptString);
     return true;