Part 2 of removing PlatformString.h, remove PlatformString.h
[WebKit-https.git] / Source / WebKit / gtk / webkit / webkitwebresource.cpp
index 4bd1980..7c32358 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "ArchiveResource.h"
 #include "KURL.h"
-#include "PlatformString.h"
 #include "SharedBuffer.h"
 #include "webkitenumtypes.h"
 #include "webkitglobalsprivate.h"
@@ -33,6 +32,7 @@
 #include <glib/gi18n-lib.h>
 #include <wtf/Assertions.h>
 #include <wtf/text/CString.h>
+#include <wtf/text/WTFString.h>
 
 /**
  * SECTION:webkitwebresource
@@ -154,7 +154,7 @@ static void webkit_web_resource_class_init(WebKitWebResourceClass* webResourceCl
             G_SIGNAL_RUN_LAST,
             0,
             0, 0,
-            g_cclosure_marshal_VOID__OBJECT,
+            g_cclosure_marshal_VOID__POINTER,
             G_TYPE_NONE, 1,
             G_TYPE_POINTER);
 
@@ -207,7 +207,7 @@ static void webkit_web_resource_class_init(WebKitWebResourceClass* webResourceCl
                                     g_param_spec_string(
                                     "uri",
                                     _("URI"),
-                                    _("The uri of the resource"),
+                                    _("The URI of the resource"),
                                     NULL,
                                     (GParamFlags)(WEBKIT_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY)));
     /**
@@ -329,7 +329,7 @@ void webkit_web_resource_init_with_core_resource(WebKitWebResource* webResource,
  * webkit_web_resource_new:
  * @data: the data to initialize the #WebKitWebResource
  * @size: the length of @data
- * @uri: the uri of the #WebKitWebResource
+ * @uri: the URI of the #WebKitWebResource
  * @mime_type: the MIME type of the #WebKitWebResource
  * @encoding: the text encoding name of the #WebKitWebResource
  * @frame_name: the frame name of the #WebKitWebResource