diff options
Diffstat (limited to 'WebCore/bindings/scripts/test/GObject')
-rw-r--r-- | WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp | 2 | ||||
-rw-r--r-- | WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp | 46 |
2 files changed, 24 insertions, 24 deletions
diff --git a/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp b/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp index 6581b1f..8f69a9f 100644 --- a/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp +++ b/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp @@ -78,7 +78,7 @@ webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, g_return_val_if_fail(str_arg, 0); WebCore::Class2 * converted_class2param = WebKit::core(class2param); g_return_val_if_fail(converted_class2param, 0); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); gboolean res = item->callbackWithClass2Param(converted_class2param, converted_str_arg); return res; } diff --git a/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp b/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp index 6a8399e..8cad49d 100644 --- a/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp +++ b/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp @@ -69,7 +69,7 @@ webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(str_arg); g_return_if_fail(obj_arg); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); WebCore::TestObj * converted_obj_arg = WebKit::core(obj_arg); g_return_if_fail(converted_obj_arg); item->voidMethodWithArgs(int_arg, converted_str_arg, converted_obj_arg); @@ -93,7 +93,7 @@ webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, WebCore::TestObj * item = WebKit::core(self); g_return_val_if_fail(str_arg, 0); g_return_val_if_fail(obj_arg, 0); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); WebCore::TestObj * converted_obj_arg = WebKit::core(obj_arg); g_return_val_if_fail(converted_obj_arg, 0); glong res = item->intMethodWithArgs(int_arg, converted_str_arg, converted_obj_arg); @@ -119,7 +119,7 @@ webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, WebCore::TestObj * item = WebKit::core(self); g_return_val_if_fail(str_arg, 0); g_return_val_if_fail(obj_arg, 0); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); WebCore::TestObj * converted_obj_arg = WebKit::core(obj_arg); g_return_val_if_fail(converted_obj_arg, 0); PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->objMethodWithArgs(int_arg, converted_str_arg, converted_obj_arg)); @@ -135,7 +135,7 @@ webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, gchar* WebCore::TestObj * item = WebKit::core(self); g_return_val_if_fail(str_arg, 0); g_return_val_if_fail(obj_arg, 0); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); WebCore::TestObj * converted_obj_arg = WebKit::core(obj_arg); g_return_val_if_fail(converted_obj_arg, 0); PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->methodThatRequiresAllArgs(converted_str_arg, converted_obj_arg)); @@ -151,7 +151,7 @@ webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* s WebCore::TestObj * item = WebKit::core(self); g_return_val_if_fail(str_arg, 0); g_return_val_if_fail(obj_arg, 0); - WebCore::String converted_str_arg = WebCore::String::fromUTF8(str_arg); + WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); WebCore::TestObj * converted_obj_arg = WebKit::core(obj_arg); g_return_val_if_fail(converted_obj_arg, 0); WebCore::ExceptionCode ec = 0; @@ -448,7 +448,7 @@ webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, gchar* value) g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setStringAttr(converted_value); } @@ -534,7 +534,7 @@ webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* va g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, converted_value); } @@ -593,7 +593,7 @@ webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, gchar* value g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, converted_value); } @@ -614,7 +614,7 @@ webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, gch g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr, converted_value); } @@ -635,7 +635,7 @@ webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* va g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, converted_value); } @@ -694,7 +694,7 @@ webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, gchar* g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, converted_value); } @@ -715,7 +715,7 @@ webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* se g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); item->setAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr, converted_value); } @@ -793,7 +793,7 @@ webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); WebCore::ExceptionCode ec = 0; item->setStringAttrWithGetterException(converted_value, ec); if (ec) { @@ -820,7 +820,7 @@ webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self g_return_if_fail(self); WebCore::TestObj * item = WebKit::core(self); g_return_if_fail(value); - WebCore::String converted_value = WebCore::String::fromUTF8(value); + WTF::String converted_value = WTF::String::fromUTF8(value); WebCore::ExceptionCode ec = 0; item->setStringAttrWithSetterException(converted_value, ec); if (ec) { @@ -1041,7 +1041,7 @@ static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, con } case PROP_STRING_ATTR: { - coreSelf->setStringAttr(WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setStringAttr(WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_CREATE: @@ -1051,7 +1051,7 @@ static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, con } case PROP_REFLECTED_STRING_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::reflectedstringattrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_REFLECTED_INTEGRAL_ATTR: @@ -1066,17 +1066,17 @@ static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, con } case PROP_REFLECTED_URL_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::reflectedurlattrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_REFLECTED_NON_EMPTY_URL_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_REFLECTED_STRING_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::customContentStringAttrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_REFLECTED_CUSTOM_INTEGRAL_ATTR: @@ -1091,12 +1091,12 @@ static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, con } case PROP_REFLECTED_CUSTOM_URL_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::customContentURLAttrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_REFLECTED_CUSTOM_NON_EMPTY_URL_ATTR: { - coreSelf->setAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr, WebCore::String::fromUTF8(g_value_get_string(value))); + coreSelf->setAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr, WTF::String::fromUTF8(g_value_get_string(value))); break; } case PROP_ATTR_WITH_GETTER_EXCEPTION: @@ -1114,13 +1114,13 @@ static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, con case PROP_STRING_ATTR_WITH_GETTER_EXCEPTION: { WebCore::ExceptionCode ec = 0; - coreSelf->setStringAttrWithGetterException(WebCore::String::fromUTF8(g_value_get_string(value)), ec); + coreSelf->setStringAttrWithGetterException(WTF::String::fromUTF8(g_value_get_string(value)), ec); break; } case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION: { WebCore::ExceptionCode ec = 0; - coreSelf->setStringAttrWithSetterException(WebCore::String::fromUTF8(g_value_get_string(value)), ec); + coreSelf->setStringAttrWithSetterException(WTF::String::fromUTF8(g_value_get_string(value)), ec); break; } #if ENABLE(Condition1) |