Title: [101931] trunk/Tools
Revision
101931
Author
[email protected]
Date
2011-12-03 10:17:52 -0800 (Sat, 03 Dec 2011)

Log Message

Another GTK build fix after r101922.

Rubber-stamped by Martin James Robinson.

* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::pathToLocalResource): return value needs to
be a URI.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (101930 => 101931)


--- trunk/Tools/ChangeLog	2011-12-03 16:37:50 UTC (rev 101930)
+++ trunk/Tools/ChangeLog	2011-12-03 18:17:52 UTC (rev 101931)
@@ -1,3 +1,13 @@
+2011-12-03  Philippe Normand  <[email protected]>
+
+        Another GTK build fix after r101922.
+
+        Rubber-stamped by Martin James Robinson.
+
+        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
+        (LayoutTestController::pathToLocalResource): return value needs to
+        be a URI.
+
 2011-12-03  Martin Robinson  <[email protected]>
 
         Small fix for my previous patch. Do not try to delete a member

Modified: trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp (101930 => 101931)


--- trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp	2011-12-03 16:37:50 UTC (rev 101930)
+++ trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp	2011-12-03 18:17:52 UTC (rev 101931)
@@ -207,7 +207,8 @@
 
     const char* layoutTestsSuffix = urlCString.get() + strlen("file:///tmp/");
     GOwnPtr<char> testPath(g_build_filename(getTopLevelPath().data(), layoutTestsSuffix, NULL));
-    return JSStringCreateWithUTF8CString(testPath.get());
+    GOwnPtr<char> testURI(g_filename_to_uri(testPath.get(), 0, 0));
+    return JSStringCreateWithUTF8CString(testURI.get());
 }
 
 void LayoutTestController::queueLoad(JSStringRef url, JSStringRef target)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to